> For the complete documentation index, see [llms.txt](https://rosea.gitbook.io/alpha-moodle-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rosea.gitbook.io/alpha-moodle-theme/theme-settings/front-page-blocks/show-hide-for-non-logged-in-users.md).

# Show/hide for non-logged in users

You can hide any element on the website for non-logged in users.

### **Hidden for non-logged in users**

**hidefornotloggedin**

```html
<img src="URL" class="hidefornotloggedin" alt=""/>
```

### **Hidden for logged in users**

**hideforloggedin**

```html
<img src="URL" class="hideforloggedin" alt=""/>

// For Block #1
// Hide Log-in button after log in
<div class="rui-hero-desc">From its medieval origins to the digital era, learn everything there is to know about the ubiquitous lorem ipsum passage.</div>
<div class="rui-hero-btns d-inline-flex flex-wrap hideforloggedin">
    <a href="https://rosea.io" class="btn btn-lg btn-primary">Sign up zalezy czy jestes zalogowany czy nie</a>
</div>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://rosea.gitbook.io/alpha-moodle-theme/theme-settings/front-page-blocks/show-hide-for-non-logged-in-users.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
