Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #899431

    Hello Team Enfold,

    I’m having some trouble with my sidebar for my blog entries. I want it to match the way my sidebar is one my pages but can’t seem to get it to work.

    The sidebar on the blog posts is not as wide and it not that light purple all the way down and across.

    Let me know if you have any insight on how to fix!

    #899483

    Hey lmmoonlight,
    Try this code in the General Styling > Quick CSS field:

    
    .single-post .container.template-single-blog {
    width: 100% !important;
    padding-right: 0px !important; 
    padding-left: 30px !important; 
    }
    .single-post .inner_sidebar {
        margin-left: 0px!important; 
        padding-right: 20px!important; 
        padding-left: 20px !important; 
    }

    Best regards,
    Mike

    #899864

    Close Mike!

    is There still seems to be some white space to the right and bottom. Is there a way to just have my single blog post follow the same format? They seem to be automatically generated.

    #899903

    Hi,
    Sorry I missed that, It seems that one is created with the template and the other is created with the advanced layout builder, is this correct?

    Best regards,
    Mike

    #900955

    Yes.

    #901101

    Hi,
    Since the two were create with different methods they would not have the same look. When using the advanced layout builder it doesn’t use the template, this is to allow you to create the style or layout you would like. To have a uniform look to all your posts we would advise to use the same method.

    Best regards,
    Mike

    #901651

    Hi Mike,

    Seeing the single blog pages are automatically generated how do I do this with the advanced layout builder? This is my issue.

    #902074

    Hi,
    To automatically generate a advanced layout builder layout that you have created, first save a layout that you have created by clicking “Templates” in the top right corner of the canvas. Then click the button, “Save Entry as Template” you will be asked to name your new template. Next time you create a new post or page you can click the name you saved to load the template.
    2018-01-24_043844

    Best regards,
    Mike

    #902330

    Hi Mike,

    I went ahead and did that. How do now assign the single posts to that template now? also how do the single blog templates know where to set the changing information? Sorry for all the questions, this is confusing! Also is there a way to set all the posts to that template automatically?

    #902465

    Hi,
    This template would be used for posts going forward, past posts would have to we rewritten to use the post template.
    But lets hold on for a minute, and examine what you are trying to achieve, perhaps a little css will save you a lot of work, and perhaps I misunderstood.
    What you seem to like about the link in the Private Content area, is that the sidebar goes to the bottom and all the way to the right, and you would like all of your posts to look like this. Is this correct? If so lets try to change it with css.
    Please try adding this code to the bottom in the General Styling > Quick CSS field:

    #top.post-template-default #wrap_all #main,#top.post-template-default #wrap_all #main.all_colors .container_wrap.container_wrap_first.main_color.sidebar_right {
        background-color: #f7f4fc!important; 
    }
     .container.template-single-blog main.content {
    background-color: #fff!important; 
        padding-left: 30px!important; 
    }
    .template-single-blog footer#socket {
        margin: 0 auto!important; 
        padding: 0px 50px!important; 
    }
    .responsive .container.template-blog.template-single-blog  {
        max-width: 100%!important; 
    }
    #top.post-template-default.single.single-post.single-format-standard.stretched .container.template-single-blog {
    padding-left: 0px !important; 
    }

    Then please clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    #902492

    Hi Mike,

    That looks much better. One issue though. As you can see when I insert that code now the content gets cut off on the side…

    See screenshot

    #902543

    Hi,
    Please try replacing the code with this:

    
    @media only screen and (min-width: 768px) {
    #top.post-template-default #wrap_all #main,#top.post-template-default #wrap_all #main.all_colors .container_wrap.container_wrap_first.main_color.sidebar_right {
        background-color: #f7f4fc!important; 
    }
     .container.template-single-blog main.content {
    background-color: #fff!important; 
        padding-left: 30px!important; 
    }
    .template-single-blog footer#socket {
        margin: 0 auto!important; 
        padding: 0px 50px!important; 
    }
    .responsive .container.template-blog.template-single-blog  {
        max-width: 100%!important; 
    }
    #top.post-template-default.single.single-post.single-format-standard.stretched .container.template-single-blog {
    padding-left: 0px !important; 
    }
    }

    Best regards,
    Mike

    #903037

    Hi Mike,

    Thanks for that new code. That seems to fix the side bar.

    #903111

    Hi,
    That is great news, shall we close this then?

    Best regards,
    Mike

    #903118

    Sure!

    #903124

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

    Best regards,
    Mike

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Blog Sidebar Layout Issue’ is closed to new replies.