I'm trying to have our logo resize on tablet and mobile and inspecting the code have found that I can change the width to get it to look how I want. But I cannot figure out the class to target to get the media query to work.
Ideally I would want the logo smaller (250px is what I was testing when inspecting the code) and to stay in the left corner of the page.
Hello @ljakiel , you can use the following snippet to achieve your request:
/* this code adds a width of 250px to the logo image element when the windows is 1139px and smaller */
@media (max-width: 1139px) {
.hs_cos_wrapper_type_logo img {
width: 250px!important;
}
}
Note: If you are a developer, there is a better way to do it, if you are okay with writing code to a template or editing dnd template answer here with the type of the template you are using so I can show you how to add custom classes to modules. Otherwise this is perfectly okay to do and will do the job!
If my answer was helpful please mark it as a solution.
Hello @ljakiel , you can use the following snippet to achieve your request:
/* this code adds a width of 250px to the logo image element when the windows is 1139px and smaller */
@media (max-width: 1139px) {
.hs_cos_wrapper_type_logo img {
width: 250px!important;
}
}
Note: If you are a developer, there is a better way to do it, if you are okay with writing code to a template or editing dnd template answer here with the type of the template you are using so I can show you how to add custom classes to modules. Otherwise this is perfectly okay to do and will do the job!
If my answer was helpful please mark it as a solution.