-
AuthorPosts
-
December 22, 2017 at 12:44 am #891442
Hi Support team,
Hoping you can offer advice for the following.
My clients wants the basic layout I have setup on my blogpost page but now they have decided they want no sidebar.
If I remove the sidebar the entire page format changes in the theme and the featured images and everything else gets out of whack.What I would like to do is keep the format but maybe do a display:none somewhere so that the sidebar justs goes away(or shrinks to 0%), and the content section expands to fill the container. Problem is I can not target the sidebar only on this page. Is there a way. Or do you recommend another method.
One more question. How can I place the category output to the bottom of the post entry.
Thanks for your support.
SteveDecember 27, 2017 at 7:27 pm #892198Hey Steve,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? Can you disable sidebar and let us see what it looks like.
Best regards,
VictoriaJanuary 4, 2018 at 10:33 pm #893439Hi Victoria,
Sorry about the delay getting back to you.
I have removed the sidebar from the page. The standard layout has the image on top when there is no sidebar.
I would like it to the left in a 250×250 image square, but it has to scale for mobile.I did some custom styling for the same layout but WITH a sidebar and all was working well. But after my client told me to deactivate the sidebar the whole setup no longer works. If I simply float the image left it does scale well on mobile and tablet. That is why I was hoping to keep the layout but “hide” the sidebar
What can you propose?
January 5, 2018 at 3:01 am #893539Hi,
I enabled your right sidebar on your blog and hide it with this code in your General Styling > Quick CSS field:aside.sidebar.sidebar_right {display:none!important;} main.template-page.content {width: 100%!important; border-right-style: none!important; }
It seems to be working well, please check.
Best regards,
MikeJanuary 5, 2018 at 3:49 am #893544Thanks for your quick reply.
The page works/looks well. I had done something similar but I was concerned that I would now be able to use a sidebar on any page. Is that a correct assumption when we are talking about right page sidebars? If yes, is there a way to confine the effect to only the blog page.Once again, thanks for your support.
Steve
January 5, 2018 at 3:58 am #893548Hi,
To confine to the blog page please add “.page-id-25” to the code:.page-id-25 aside.sidebar.sidebar_right {display:none!important;} .page-id-25 main.template-page.content {width: 100%!important; border-right-style: none!important; }
Best regards,
MikeJanuary 5, 2018 at 8:34 pm #893832That worked perfectly. Many Thanks.
Last question on this…
Is there a way to drop the category display to the bottom to where the bottom of the post border would be?
Inline with the “read more” but below?January 6, 2018 at 1:14 am #893917Hi,
I don’t see a quick solution to this without editing the theme, would you like me to investigate further? Are you using a child theme to save the changes?Best regards,
MikeJanuary 7, 2018 at 4:55 am #894278I appreciate your time on that one. I think we will let it go.
It is working well enough :)Thanks again.
Steve
January 7, 2018 at 4:36 pm #894372 -
AuthorPosts
- The topic ‘remove sidebar on blog post page but keep layout’ is closed to new replies.