• I have had this problem for ages and nobody seems to know why, I hope someone here might have an idea!

    I created a theme with a generator, and use widgets in my sidebar for navigation. The problem is, the headers of each widget are indented when I view it in Internet Explorer (not Firefox though). It is definitely not anything to do with the style sheet as I have temporarily deleted it before and the bland page still has the indents. When I view the source code of the site it seems to just have loads of spaces before the headers.

    It is very frustrating as obviously it looks messy, and I just can’t work out what could be causing it!

    The site is https://www.paniconline.co.uk – any help would be very much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Indentation of the headers on the sidebar has everything to do with the stylesheet at wpthemegen/style.css. Check out the CSS below where there’s padding all around h4:

    #secondary h4, #third h4{
    	color: #FFFFFF;
    	font-family: Trebuchet MS, arial, sans-serif;
    	margin-top: 5px;
    	padding: 3px;
    	text-align:left;
    }

    Add this below …

    #secondary h4 { padding-left: 0; margin-left: 0; }
    #secondary ul li { list-style: none; }
    Thread Starter mpawsey

    (@mpawsey)

    Hi – thanks for the response, I tried adding that code but the problem still exists. The reason I thought it wasn’t a style issue was because I deleted the css file completely a while ago (after backing up) and the indentation was still there, albeit on a white page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar Issues’ is closed to new replies.