-
AuthorPosts
-
November 18, 2014 at 12:28 pm #352922
Hi
I have the same issue as this user but can’t seem to solve it or find a solution.https://kriesi.at/support/topic/bug-report-blog-post-titles-are-centered-when-using-no-sidebar/
Please help.
Thanks
Simon
November 18, 2014 at 7:12 pm #353180Hi Simon!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#top .fullsize .template-blog .post-title, #top .fullsize .template-blog .post-meta-infos { text-align: left; }
Cheers!
YigitNovember 18, 2014 at 8:15 pm #353215This reply has been marked as private.November 18, 2014 at 10:45 pm #353288Hi!
It seems like you have changed blog layout. Please post a screenshot and show the changes you would like to make.
Cheers!
YigitNovember 18, 2014 at 11:49 pm #353352This reply has been marked as private.November 19, 2014 at 3:57 pm #353745Hi!
Please add this on functions.php:
function avf_blog_style() { ?> <script> (function($){ $(window).load(function() { var blog = $(".template-blog").length; if(blog) $(".main_color.container_wrap").removeClass('fullsize'); }); })(jQuery); </script> <?php } add_filter('wp_footer', 'avf_blog_style', 10);
Remove browser cache then reload the page. There will be a bit of delay but it will work.
Regards,
IsmaelNovember 22, 2014 at 2:19 pm #355885This reply has been marked as private.November 24, 2014 at 9:55 pm #357148Hey!
your blog looks exactly as in your screenshot. Everything seems fine to me now. Could you fix it?
Regards,
AndyNovember 24, 2014 at 10:49 pm #357186Hi Andy,
The format is right, but if you refresh the page, you’ll see that the content jumps from the center to the left – can you see that?
best
Simon
November 27, 2014 at 8:15 pm #359163Hey Simon!
That’s happening because Ismael’s solution applies when the page loads via JavaScript, not sure if this would work but you can try changing the code to this:
function avf_blog_style() { ?> <script> (function($){ var blog = $(".template-blog").length; if(blog) $(".main_color.container_wrap").removeClass('fullsize'); })(jQuery); </script> <?php } add_filter('wp_footer', 'avf_blog_style', 10);
Cheers!
JosueNovember 28, 2014 at 3:30 pm #359576That works – brilliant – thank you SO much.
best,
Simon
- This reply was modified 10 years ago by friendlier.
-
AuthorPosts
- The topic ‘Blog layout – sidebar issue’ is closed to new replies.