Shop Categories

X

Hide boxes in some pages

Home Forums Agama Pro Hide boxes in some pages

Topic Resolution: Resolved

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10237
    mobilitypower
    Participant

    Hi,

    I’d like to show or hide boxes in some pages, example below posts of the blog but not in other pages. ¿How can I do it?

    Thanks!

    #10238
    Zex
    Moderator

    Hi,

    If you think on the “Front Page boxes”,
    to show/hide it below the page content go to: Customizing ▸ Front Page Boxes ▸ General menu, enable the Boxes and set the visibility to “All pages”.
    https://prnt.sc/kns8ro

    Then give me the pages where you don’t want to show the boxes and I will give you a right CSS code to hide it on that pages.

    Regards

    #10239
    mobilitypower
    Participant
    This reply has been marked as private.
    #10240
    Zex
    Moderator

    Hi,

    Follow the next steps, to show the front-page boxes on the two pages you mentioned above:

    Go to Customizing ▸ Front Page Boxes ▸ General menu, enable the Boxes and set the visibility to “All pages” and the “Position” to the “Below Page Content”

    then insert the following code into Customize->General->Additional CSS:

    body:not(.category-blog):not(.page-id-757) #frontpage-boxes{
    	display:none;
    }

    Please let me know if the code for some reason doesn’t work.

    Regards

    #10247
    mobilitypower
    Participant

    Hi,

    The code works but I don´t want to show box in “.category-blog”. I need to show it in the end of each article. ¿Is it possible?

    Thanks!

    #10249
    Zex
    Moderator

    Hello mobilitypower!

    In this case try to use the following code instead of the code I previously gave you:

    body:not(.single-post):not(.page-id-757) #frontpage-boxes{
    	display:none;
    }

    Regards

    #10250
    mobilitypower
    Participant

    Thanks, its works perfect. 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.