Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

How to make a certain Menu link always active? (with a use of Social Bar on the top right side)

edited October 10 in Menu / Mega menu
Hello MuffinGroup,

I would like to make a certain link that's always active, to get the possibility of changing a certain style on a:active link in a social menu. When I add that class, it still won't recognize that link as an active one, even if the link itself is a Homepage. (Tried with CSS Hero and !important)

I am doing a Website for both Personal and Business Users, and that's the reason why I want my homepage button in a social bar, to always stay active while I'm on that domain of personal users, and vice-versa for a domain of business users. (ex.  Personal Users | Business Users ) - Orange is active as long as User is on that domain.

Is it possible, to change something in functions.php to make a certain menu always active? If not, do you have any idea how to make that or some better alternative to split the page into two "categories", where one of them shows if it's currently active and gives a link to another one? Or some friendly Plugin which has the possibility to do that and is compatible with BeTheme?

Good Example of what I´m trying to accomplish is also clearly visible at: http://www.vodafone.co.uk/ (they also have the same thing, personal and business)

Best Regards,
Ivan


Comments

  • edited October 10
    Please sign in to see answear!
  • Hi,

    thank you for your fast response!
    After your subdomain explanation, I understand those possibilities even better. 

    What I still didn't understand so well is, how to apply specific CSS for the specific link on a whole Website, because it affects all list elements of that bar, I always ended up with having both links affected.

    I did this now with first-of-type selector: 
    .header-classic #Action_bar .social-menu li:first-of-type a:visited{
     color:rgb(241, 142, 0)!important;
    }
    Because after loaded Homepage, it has visited attribute at start (Personal Users link). Ignoring second list item (Business Users link)
    Is this approach okay or should I try with something else? Unfortunately, I can't add ID or extra class to existing links, they are just list items, not Muffin Builder Buttons :/ (Menu Links made for "Social Menu Top")

    Regards,
    Ivan
  • Please sign in to see answear!
  • edited October 11
    I wasn't able to send a private message but: link deleted
  • Please sign in to see answear!
  • edited October 11
    Yea I tried to do it with :first of type and a:visited approach and it worked hehe.

    Still, thank you for your great support!
    Regards
  • Please sign in to see answear!
Sign In or Register to comment.