Hi Woodpig,
I’ve just updated the admin page of the plugin to show that the custom css is scoped to the simple-banner class. For your purposes, this should work if you put it in the custom css
}
@media (max-width: 600px) {
.simple-banner .simple-banner-text {
font-size: 1.1em;
padding: 0px !important;
line-height: 30px;
}
}
That’s great – thank you so much for your prompt reply!
Now that I’ve added the code to the main CSS editor, I can see how it looks. Basically, I just want to reduce the text size slightly (on desktop and mobile versions). So, I have
.simple-banner .simple-banner-text {
font-size: 0.8em;
padding: 10px !important;
line-height: 15px;
}
That works fine for desktop, but I still need to alter it so that the banner text all appears on one line for mobile. But I can’t see where to add ‘@media (max-width: 600px)’ – when I do it, it makes the whole code only work for mobile.
(sorry, I’m not very technical!).
Thanks again,
Gareth.
-
This reply was modified 8 years ago by
Woodpig.
if you add
}
.simple-banner-text {
font-size: 0.8em;
padding: 10px !important;
line-height: 15px;
}
@media (max-width: 600px) {
.simple-banner .simple-banner-text {
font-size: 1.1em;
padding: 0px !important;
line-height: 30px;
}
That should work
That works great.
Thanks very much for your help!
G.