in trying to insert a sidebar ad sizes 240h350.
it cuts off the edges – what to do?
https://www.evernote.com/shard/s163/sh/483e7571-ee8c-4780-bf1f-e0bb3082ce26/fe1e4b112e6968fc1b089649cec7039e
To resolve this issue, you can add the following code to the Header code (Dashboard > Customize > custom code)
<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>
Add the following code to the “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>
– Then move through Dashboard > setting > Media, change the image size : http://imgur.com/pLIg49O
I need to correct selected advertising width 240
and the fact that you sent me does not quite fit
You can send me your site for further checking
inforesist dot org
To resolve this issue, you can add the following code to the Header code (Dashboard > Customize > custom code):
<style>
@media (min-width: 1110px) {
/* Main */
#main > .container > .row {
background-position: 810px 0;
}
#primary {
width: 750px;
}
.news-slider .carousel {
width: 500px;
}
.news-slider .carousel-inner,
.news-slider .carousel .item,
.news-slider .carousel .carousel-inner .hentry {
height: 100%;
}
.news-slider .carousel-list {
width: 250px;
}
#secondary {
width: 250px;
}
#secondary .entry-thumbnail img {
width: 250px;
}
.single .site-content > .post .entry-content {
max-width: 580px;
}
}
</style>
Add the following code to the “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>
If you still face there issue, you can send me username & password of your site (via private answer) for further checking.
Hope this helps !
Thank you ) it is work
I removed the style
because when I wrote, had greater load on the server
tell me – how to make sure that this style would not create a large load on the database
Don’t worry, the snippet that I gave previously doesn’t affect on your loading time of the site. I also tested on our site, nothing happens and everything works fine for me. You can try W3 Total Cache plugin to help you out.
Also, to resolve the issue in the issue with the title in the slider when you have used the code. you can add the following code to the style.css file:
.news-slider .carousel .carousel-inner .entry-header { padding-bottom: 30px; }
Hope this helps !
i use W3 Total Cache.
I did as you wrote
but it still did not help
https://www.evernote.com/shard/s163/sh/22de88d1-dda0-4d08-a4e5-fb52d7133ead/cd502ba7e4d3967e868a1d65c0efa03e
i update theme
I did everything you said on the new version of the theme
that’s what I get
https://www.evernote.com/shard/s163/sh/dc0c0d8e-9554-4db2-82d1-b04e346b0a04/553f23f77a09eb71e4317ec85b9e2743
Please login or Register to submit your answer