Tagged: x
-
AuthorPosts
-
February 6, 2017 at 12:50 pm #1360039
nedalpertParticipantHello:
I am trying to reduce the font-size on my iPhone settings, as the site title extends past the device borders.
I was able (a separate matter) to make some child theme CSS adjustments to this tag (.x-brand), changing the color and referring to a custom font like so:
.x-brand {
font-family: ‘Herculanum’, sans-serif;
color: #999999;
}/* Media Queries */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (orientation: portrait) {
.x-brand {font-size: 24px !important;}
}The Media Query above is just not working, and I have tweaked the dimensions and also the tag (tried .x-brand text with no success) — can you see what I am doing wrong?
Thanks, Ned
February 6, 2017 at 1:16 pm #1360065
RahulModeratorHi There,
Greetings!
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.February 6, 2017 at 1:33 pm #1360089
nedalpertParticipantThanks, Ned
February 6, 2017 at 3:15 pm #1360193
JoaoModeratorHi There,
Please try :
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) { .x-brand.text {font-size: 24px !important;} }Hope it helps
Joao
February 6, 2017 at 4:05 pm #1360251
nedalpertParticipantHi Joao:
Tried both .x-brand text and .x-brand.text but neither were successful. Thanks for your suggestion!
Regards, Ned
February 6, 2017 at 5:27 pm #1360319
nedalpertParticipantI thought this might work, but did not…
I deleted the font-size setting under Logo Text in the Customizer “Header”, and added it in via CSS. Again in desktop mode it looked OK, but I still could not change for the iPhone in the @Media setting. 🙁
Rgds, Ned
February 6, 2017 at 5:28 pm #1360320
NicoModeratorHi There,
In this case, to further check your setup why it is not working. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
February 6, 2017 at 5:42 pm #1360348
nedalpertParticipantThis reply has been marked as private.February 7, 2017 at 12:30 am #1360734
ChristopherModeratorHi there,
Please update your code to :
/* Media Queries */ @media only screen and (max-width: 767px) and (orientation: portrait) { a.x-brand.text { font-size: 30px !important; } }Hope it helps.
February 7, 2017 at 10:41 am #1361396
nedalpertParticipantThank you — works beautifully.
Great support!!
February 7, 2017 at 11:32 am #1361476
JoaoModeratorGlad to hear it 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1360039 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
