-
AuthorPosts
-
July 21, 2020 at 5:02 pm #1232054
Hi,
I have one major issue with some text alignment on layer slider and submenu spaces only on Firefox (the screen has 4k resolution and it is touch technology). Please see the attached pictures:
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-07-at-16.08.55.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.28.23.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.28.46.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.42.14.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.42.29.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.42.41.jpeg
https://www.step-lab.com/wp-content/uploads/WhatsApp-Image-2020-07-21-at-12.42.47.jpegThis is the website: https://www.step-lab.com/
Could it be something with some css customization that I’ve introduced?
Thank you,
AnitaJuly 24, 2020 at 6:27 am #1232883Hey Stepconsulting,
Thank you for the inquiry.
We may need to manually control the size of the fonts on larger screens using css media queries. We can do it by applying a unique class or ID attribute to the layer. Start by editing a layer, then go to the Links & Attributes tab and look for the CLASS or ID field. In the CLASS field, add the name “custom-layer” for example, then use it to adjust the style of that particular layer.
Add this css code in the Quick CSS field or the style.css file.
@media only screen and (min-width: 2160px) { .custom-layer { font-size: 40px !important; } }
If you want to use the ID field instead, input the same name that we use for the CLASS field, then replace the css code with the following.
@media only screen and (min-width: 2160px) { #custom-layer { font-size: 40px !important; } }
// https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.