Tagged: sidebar
- This topic has 6 replies, 2 voices, and was last updated 9 years, 5 months ago by Sakin.
-
AuthorPosts
-
July 7, 2015 at 5:36 pm #60635TazzipooMember
The Primary Sidebar is showing below the content of the page – as far as I can saee the widths are all correct and I am not sure why this is happening.
Please advise
July 7, 2015 at 5:37 pm #60636TazzipooMemberApologies – page – http://www.anbikes.co.za
July 8, 2015 at 10:57 am #60670July 8, 2015 at 3:32 pm #60684TazzipooMemberbutter fingers!! – http://www.andbikes.co.za
July 8, 2015 at 11:49 pm #60705SakinKeymaster@Tazzipoo: Looks like you have customize core theme style.css file. You shouldn’t edit that file. Actually, you should add/edit any file inside core theme directory
catch-reposnive
. So, you need to edit your theme using theme customizer at “Appearance => Customize” and if you want to do advance coding then you can build child theme and add it as per your need. But if you simply want to change css then you can add your custom css in “Appearance => Theme Options => Custom CSS Options” box.Why you don’t edit core theme files like style.css? It’s because all your edits will be reverted back to original when you update the theme and also when you have problem like this we cannot check the issue. So, please revert back your theme to latest version and then backup your style and add in either as child theme or as custom css.
The issue, I see in your style.css is the following css:
.site-content { background-color: rgba(0, 0, 0, 0.7); /* rgb = 0 0 0 is black color */ /* a = 0.7 is 70% of alpha channel */ }; }
Replace that with:
.site-content { background: #444; background: rgba(0,0,0,0.7); }
July 9, 2015 at 3:01 pm #60748TazzipooMemberNo difference?
I couldn’t imagine that being the difference though as all that code does is change the colour and transparency of the background, why would that affect the sidebar positioning?
Regards
July 13, 2015 at 5:52 am #60893SakinKeymaster@Tazzipoo: Did you refresh and check in your site. As when I check in your site from my laptop, sidebar is showing at the right of the content.
Yes, it’s not about the code to change the color that is effecting your site. It the mistake of the code that is effecting. There shouldn’t be extra code like below, which was found it that code. So, I have corrected that css for you.
};
-
AuthorPosts
- The topic ‘Primary Sidebar showing below content’ is closed to new replies.