The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
2 posters

    Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by okamii March 5th 2024, 7:55 pm

    I can't find any option of removing on Advanced > Display > Homepage > Headers & Navigation > Nav links, is there any place under the admin panel that I can turn off/on those two? (not necessarily remove the pages, just want to not have a link to them on navigation list)


    Last edited by okamii on March 5th 2024, 8:23 pm; edited 1 time in total
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1581
    Reputation : 268
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by Razor12345 March 5th 2024, 8:00 pm

    Good evening!

    Latest images: AP - Modules - Recently shared images - Display the link in the navigation bar - No - Save.
    Usergroups: AP - Display - Colors&CSS - CSS Stylesheet

    Insert this code:

    Code:
    a.mainmenu[href$='/groups']{display:none;}

    Save.



    Is it possible to remove 'Latest images'  and 'Usergroups' from the header navigation list?   Screen51

    SarkZKalie, TonnyKamper and okamii like this post

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Re: Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by okamii March 5th 2024, 8:06 pm

    Razor12345 wrote:Good evening!

    Latest images: AP - Modules - Recently shared images - Display the link in the navigation bar - No - Save.
    Usergroups: AP - Display - Colors&CSS - CSS Stylesheet

    Insert this code:

    Code:
    a.mainmenu[href$='/groups']{display:none;}

    Save.
    Thanks, it worked. Although, the CSS code kept the two additional empty blank (spaces ) that is inserted per navigation link, is there a way I can remove it so it doesn't have too many extra spaces from the side?
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1581
    Reputation : 268
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by Razor12345 March 5th 2024, 8:19 pm

    For me, the last button is the FAQ - so I remove the indentation for it

    AP - Display - Colors&CSS - CSS Stylesheet

    Code:
    a.mainmenu[href="/faq"] {
        margin-right: -10px;
    }

    Submit.

    Result:

    Is it possible to remove 'Latest images'  and 'Usergroups' from the header navigation list?   Scree765



    Is it possible to remove 'Latest images'  and 'Usergroups' from the header navigation list?   Screen51

    okamii likes this post

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Re: Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by okamii March 5th 2024, 8:22 pm

    Razor12345 wrote:For me, the last button is the FAQ - so I remove the indentation for it

    AP - Display - Colors&CSS - CSS Stylesheet

    Code:
    a.mainmenu[href="/faq"] {
        margin-right: -10px;
    }

    Submit.

    Result:

    Is it possible to remove 'Latest images'  and 'Usergroups' from the header navigation list?   Scree765
    Perfect, thanks!! Very Happy
    Razor12345
    Razor12345
    Support Moderator
    Support Moderator


    Male Posts : 1581
    Reputation : 268
    Language : Ukr, Rus, Eng
    Location : Ukraine

    Solved Re: Is it possible to remove 'Latest images' and 'Usergroups' from the header navigation list?

    Post by Razor12345 March 5th 2024, 9:00 pm

    You are welcome!

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    Is it possible to remove 'Latest images'  and 'Usergroups' from the header navigation list?   Screen51

    okamii likes this post


      Current date/time is November 11th 2024, 8:37 pm