Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1108283

    It seems that Child Pages are automatically shown at the top of a sidebar region. When I try to hide it with “display: none”, subsequent widgets have padding on the top, and will be displayed lower than on pages that have no child pages at all.

    How can I disable or fully hide those child pages?

    I’m currently hiding the child pages with “display: none”, and you can see the difference in top location of the LATEST POSTS on my home page (here: https://burtlo.info/), versus a page with child pages (here: https://burtlo.info/spirituality/).

    #1108593

    Hey launchmoxie,

    What child page do you need to hide?

    Could you please attach some screenshots of the issue?

    The sidebar widget looks the same on both paged on my end.

    Best regards,
    Victoria

    #1108628

    Pardon, here’s more detail.

    Here’s a page with child pages showing at https://burtlo.info/spirituality/:
    page with child page showing

    Here’s that same page with child pages hidden by “display: none”:
    page with child page hidden

    Note the red rectangle showing the space from the top of the sidebar to the top of the next widget.

    Here’s a page (https://burtlo.info) that has no child pages, and now note the red rectangle showing the space from the top of the sidebar to the top of the first widget:
    page with no child pages

    • This reply was modified 5 years, 5 months ago by launchmoxie.
    #1108629

    Not sure why those images aren’t showing… they do show for me when I browse to them directly via Incognito window, or when I open them via right-click. Can you see them that way?

    • This reply was modified 5 years, 5 months ago by launchmoxie.
    #1108636

    Hi launchmoxie,

    Please upload the images to a service like https://imgur.com/ and give us the links here.

    Best regards,
    Victoria

    #1108722

    I updated my comment above, but they’re still not showing. Can you see them from this link?

    https://kriesi.at/support/topic/how-to-properly-remove-child-pages-from-being-listed-in-sidebar/

    #1109190

    Hi launchmoxie,

    Thank you.

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #newsbox-2 {
      padding-top: 0px;
    }
    
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1109236

    Perfect, thanks!

    #1109373

    Hi,

    Great, I’m glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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