[email protected]
asked 11 years ago

Is there a way to change the sidebar width to accommodate 300×250 display ads?

The width would need to be increased, while the main content area would need to be decreased. I’d rather not change the width of the entire site (I don’t want the header or footer increased, in other words).

3 Answers
DominicStaff
answered 11 years ago

Hi !

-In order to enlarge sidebar 300px as you want, we can give you two options.  The best solution as well as avoiding aberrant on iPad and Mobile will be sure only by your confirmation. The enlarging will be invisible on iPad and Mobile. Let me know your opinion.

1/ In order to enlarge sidebar, we will enlarge container and sidebar, but we have re-fix header and footer about changed places.

2/ Enlarge sidebar by reducing content inside, but it will influence on slideshow and will re-fix slideshow.

Regards,

Dominic

[email protected]
replied 11 years ago

No. 2. I think the header and footer are wide enough. I’d rather just slightly decrease the content area width. How is this done?

DominicStaff
answered 11 years ago

Hi !

– Can you copy code follwing and paste :

Wp_head

 <style>
@media (min-width: 1110px) {
/* Main */
#main > .container > .row {
background-position: 760px 0;
}

#primary {
width: 700px;
}

.news-slider .carousel {
width: 480px;
}

.news-slider .carousel-inner,
.news-slider .carousel .item,
.news-slider .carousel .carousel-inner .hentry {
height: 100%;
}

.news-slider .carousel-list {
width: 219px;
}

#secondary {
width: 300px;
}

#secondary .entry-thumbnail img {
width: 300px;
}

.single .site-content > .post .entry-content {
max-width: 530px;
}
}
</style>

“WP_head (): http://imgur.com/DuAKxNb

Wp_footer:

 <script>
var height = jQuery('.news-slider').height();
jQuery('.news-slider .carousel').css('height', height);
</script>

“WP_footer (): http://imgur.com/amR3OU8

– Dashboard > setting > Media : http://imgur.com/pLIg49O

Regards,

Dominic

 

 

 

mayflashfly
replied 11 years ago

I have the same problem too, but I don’t know which file will I add the code above. So would you please help me about that.

mayflashfly
replied 11 years ago

where are function wp_head(); and wp_footer();

and I can just put the code on it

mayflashfly
replied 11 years ago

WP_footer ( )

mayflashfly
replied 11 years ago

OK. I’ve got it but a little problem that can I just modify for cell spacing on iPad css template version to be less width on the left of sidebar?

DominicStaff
answered 11 years ago

Hi !

you can submit your site for us.

Regards, Dominic

Powered by DW Question & Answer Pro