Marc
asked 6 years ago

Hi,

I would like to make the right hand panel fit a 300×250 banner, currently is seems to be about 230 in width, not enough to fit any standard banner.

 

Regards Marc

1 Answers
DominicStaff
answered 6 years ago

To resolve this problem, you log in Dashboard > Appearance > Theme > customize > General Settings > add code folowing
“DW Focus header script”
see the screenshot: http://imgur.com/DuAKxNb

<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>

“DW Focus footer script”

see the screenshot: http://imgur.com/amR3OU8


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

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

Regards,
Dominic

Powered by DW Question & Answer Pro