开发者

Horizontal scroll bar - WP Thesis - WHY?

开发者 https://www.devze.com 2023-01-28 17:02 出处:网络
My site shows a horizontal scroll bar at the bottom -- it\'s like I have a lot of extra space to the right of my theme -- but there\'s really开发者_Go百科 nothing there.

My site shows a horizontal scroll bar at the bottom -- it's like I have a lot of extra space to the right of my theme -- but there's really开发者_Go百科 nothing there.

Can someone tell me how I can correct this?

I am using Wordpress 3.0, Thesis theme with the full-width framework.

Thanks!!!


I don't know in what browser you get this behavior but in css you can use overflow-x:hidden to hide the horizontal scrollbar

html, body {overflow-x:hidden;}


First you have this element :

<button value="" name="sa" type="submit" class="googlesearch-btn"></button>

with this css asigned to it:

.googlesearch-btn {
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    cursor: pointer;
    height: 37px;
    left: 267px;
    position: relative;
    top: -35px;
    width: 35px;
}

You should try to make it : display:none;


If you can add extra CSS styles to the theme simply using wordpress, add in the following style:

.full_width {
    overflow:hidden;
}

If you can't do that, but can edit the original stylesheets provided with the theme, edit the "layout.css" file (from url http://www.thedailytail.com/wp-content/themes/thesis_18/custom/layout.css?120410-40254 when I visited), somewhere around line 21 find the style for .full_width and add in the line

overflow:hidden;

Let us know how you get on.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号