Viewing 1 reply thread
You must be logged in to reply to this topic.
https://ctmc.performmarketing.co.za
I’ve added this custom css:
@media (max-width: 480px) { #logo img { width: 100%; height: auto!important;} }
The logo is resized correctly but the div surrounding it has not changed height to match the logo height.
Hello,
This is because you have only targeted the image (img) with your custom css. The rest of the header is like the default. It won’t change unless you do alter it somehow(by changing theme options or adding custom code).
Try adding this code as well inside the #logo img
: top: 68%;
So the result will be like this:
@media (max-width: 480px){
#logo img {
width: 100%;
height: auto !important;
top: 68% !important;
}
}
Result screenshot. Edit the value to your wish. Let us know.
Best regards!
You must be logged in to reply to this topic.