I guess you are trying to show the whole text of the slider image in the Background. Try adding this to your Custom CSS. Although This might look bad:
@media screen and (max-width: 480px){
#stat_img { background-size: contain!important;}
}
If possible, avoid this and edit the image and remove the text from the background image and then create a new image with photo editor that contains only the text and insert the newly created image inside the Slider Content field. Hope this makes sense.
Regards
Hi all,thanks Theme Author
try to add this
@media(max-width:767px) {
#stat_img { background-size: contain!important;}
}
@media only screen(max-width:320px)
{
#stat_img { background-size: contain!important;}
}
I think If you add this style the image shrinks in all screen size!
you try to add this instead of @media
#stat_img
{
background-size: contain!important;
}
hi theme author
If we want to hide image on responsive mode what will be the code
@media screen and (max-width: 480px){
#stat_img {
background-image: none!important;
}
}
why this code doesn’t work?
Best Regards
It worked. Thank you all.
The theme optimizer hase a bug
when I activate it the the front end site face this error
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\mytheme\wp-includes\query.php on line 4385
I think the sorce of the theme has a critical problem
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\mytheme\wp-includes\query.php on line 4387
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\mytheme\wp-includes\query.php on line 4389
!when I activate another theme the error disappear
@rohallah The messages you are seeing are notices, you can ignore them. They are just notices, not error messages.
Can you please let us know what version of WordPress and Optimizer theme you are using?
Thanks
Hi I think My wordpress must me 4.2.2
how to know the version?
hi again
wordpress version was Version 4.3.3
It is in readme.html in root folder