Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.
    Steve

    #892198

    Hey 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,
    Victoria

    #893439

    Hi 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?

    #893539

    Hi,
    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,
    Mike

    #893544

    Thanks 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

    #893548

    Hi,
    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,
    Mike

    #893832

    That 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?

    #893917

    Hi,
    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,
    Mike

    #894278

    I appreciate your time on that one. I think we will let it go.
    It is working well enough :)

    Thanks again.

    Steve

    #894372

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘remove sidebar on blog post page but keep layout’ is closed to new replies.