Sidebar in Default Theme issue- Main sidebar
-
I created a child theme of Twenty Twelve, installed the plugin Sidebar Manager Light and am trying to put an image (using Simple Image Widget) in the Main Sidebar area, using the default template page. The image is displaying at the bottom right of the page rather than the top right of the page. I’ve used this combination of plugins/widgets/settings before on another site and it automatically put the image in the proper place. Is there anything I should check to get it in the right position? I’ve temporarily put the image I want at the front of the bio in the body using “add media” but if you scroll down to the bottom of this page, you’ll see where the Sidebar Manager is placing the image. Here’s the link for the PAGE.
Thanks!
-
Did you do anything to theme files at all?
There seems to be a mis-matched closing div tag. Part of the html comment (for a closing div) is visible under the content area.
Yes, I did change the navigation in a child theme in the style sheet. Here’s the code I used (below). Is something of it incorrect? The navigation is working well, but I do see that > without an opening </ Unfortunately, I’m not familiar with code enough yet to know how that would effect anything else. Any recommendations? Thank you!
.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
border-bottom-color: #EDEDED;
border-bottom-style: solid;
border-bottom-width: 1px;
border-top-color: #EDEDED;
border-top-style: solid;
border-top-width: 1px;
display: inline-block !important;
text-align: center;
width: 100%;
}It’s the markup (HTML), not the CSS.
Do you have any template override in your child theme?
The main
<footer>is not supposed to be outside<div id="page">. This indicates that there is a mismatched closing div or something in the markup causing it.Suggestion is to first make a backup of all your theme files, and then carefully check the templates in your child theme see if there is any unclosed div or a missing closing one.
In case, you don’t have any template overrride (your child theme only has the style.css), re-install a fresh copy of 2012.
Temporary switch to use (click activate) Twentythirteen(2013).
Click delete Twentytwelve(2012). Make sure it’s gone.
Click download Twentytwelve(2012). Then switch to activate your 2012 child theme.
Forget the whole template thing.
The markup problem only appears on default page template (with sidebar), but NOT on full width page template (the
/audioand/studiopage).So check the HTML markup used in sidebar widget.
The topic ‘Sidebar in Default Theme issue- Main sidebar’ is closed to new replies.