Hide "action button" on some pages show on others

Hi,

We're using the action button on the homepage, is it possible to hide it on other pages?

Can I use custom CSS on "page options?"

Something like?

.action_button {

 display: hide;

}

Thanks

Comments

  • Hi,

    If you want to hide this button on all pages but the home page, you can use the following CSS code:

    body:not(.home) #Top_bar .action_button{
     display: none;
    }
    

    Put it in Betheme -> Theme options -> Custom CSS & JS -> CSS.


    Best regards

  • I’ll give it a try. Thanks.

  • HI,

    The code hides the "action button" from all pages with the exception of the homepage, it does, however, still show in all the mobile menus.

    Can I show the "action button" on the mobile menu of the homepage but hide it on the mobile menus of all the other pages?

    Thanks

  • Don't know if it's correct but it seems to work. Please let me know if I did something I should not do.


     body:not(.home) #Side_slide .extras .action_button {

     display: none;

    }

  • The CSS code you created is correct, so it is a correct approach to achieve that.


    Best regards

Sign In or Register to comment.