-
AuthorPosts
-
June 7, 2019 at 4:06 pm #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/).
June 9, 2019 at 4:18 pm #1108593Hey 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,
VictoriaJune 9, 2019 at 5:08 pm #1108628Pardon, here’s more detail.
Here’s a page with child pages showing at https://burtlo.info/spirituality/:
Here’s that same page with child pages hidden by “display: none”:
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:
- This reply was modified 5 years, 6 months ago by launchmoxie.
June 9, 2019 at 5:10 pm #1108629Not 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, 6 months ago by launchmoxie.
June 9, 2019 at 5:20 pm #1108636Hi launchmoxie,
Please upload the images to a service like https://imgur.com/ and give us the links here.
Best regards,
VictoriaJune 10, 2019 at 1:36 am #1108722I 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/
June 11, 2019 at 3:41 pm #1109190Hi 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,
VictoriaJune 11, 2019 at 6:10 pm #1109236Perfect, thanks!
June 12, 2019 at 6:34 am #1109373 -
AuthorPosts
- You must be logged in to reply to this topic.