Tagged: x
-
AuthorPosts
-
May 12, 2016 at 11:57 am #988094
Loren NParticipantI’ve just installed this fab little extension with my X theme install. I’ve set up a modal popup and it looks great.
The only issue is that although the text all appears to be responsive, the main header shrinks extremely small. I can’t see what CSS I need to add to force it to be bigger when responsive as my CSS knowledge is limited.
I thought I’d found some other instances of this question in the forums but when I clicked, it just took me to a long list of support answers and I couldn’t find anything relevant.
This is a sample page with the modal activated (without cookies enabled).
http://www.mimosabridal.com/sample-page/Can you help?
May 12, 2016 at 4:34 pm #988550
JadeModeratorHi Loren,
Please try to add this code in the custom CSS:
@media (max-width: 480px) { .cp-desc-container span span span { font-size: 28px !important; } }Hope this helps.
May 13, 2016 at 10:57 am #989862
Loren NParticipantHi,
Thanks for this although it didn’t work. I don’t think the ‘span span span’ bit is right though. Shouldn’t it be ‘.span.span.span’ or something?
May 13, 2016 at 1:49 pm #990115
JoaoModeratorHi Loren,
Please try this code:
@media (max-width: 480px) { .body div.cp-modal-popup-container.cp_id_f44d6.cp-special-offer-container > div > div > div > div.cp-modal-content > div > div.cp-row > div > div.cp-desc-container > div > span > span > span { font-size: 28px !important; } }Regarding your .span.span.span question , I will explain you how it works, It tooke me a while to understand as well when I started with CSS customization.
IDs will have # in front
Classes will have . in front
<tags> wonΒ΄t have anything in front
so as span is inside a tag <span> it does not have a . in front ;
<p> would be just p while <p class=”classy”> would be p .classy
Hope that helps,
Let us know if you need further help with anything.
Joao
May 13, 2016 at 5:21 pm #990389
Loren NParticipantHi,
Wow, thank you so much for the explanation! It’s awesome. I think I’m going to print it out and stick it on my screen!
Unfortunately, the code still doesn’t work. π
May 13, 2016 at 11:13 pm #990825
RadModeratorHi there,
Please try this one π
@media (max-width: 800px) { .cp-desc-container > div > span > span > span { font-size: 32px !important; } } @media (max-width: 480px) { .cp-desc-container > div > span > span > span { font-size: 28px !important; } }Hope that helps π
May 16, 2016 at 9:59 am #993727
Loren NParticipantAwesome! That’s better.
Many, many thanks!
May 16, 2016 at 10:52 am #993814
JoaoModeratorYou are welcome,
Let us know if you need further help.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-988094 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
