Hi,
Thanks for the update. The page you linked to on the staging site is still htaccess protected, but I checked your Quick CSS on the site you sent login details to, and it looks like you are overriding the theme settings with this CSS:
@media only screen and (max-width: 767px) {
p {
font-size: 18px !important;
/*line-height: 1.3em !important;*/
}
}
Best regards,
Rikard
Hi,
I tried your suggestion, and as I indicated before, it did not work. Adding the font size in css or inline makes to difference, the mobile settings are not responsive The font, remains at 72px on every screen.
But that is exactly what my example page showed you. If you add inline CSS, that will apply instead of any theme setting, since that CSS has a higher priority. If you don’t understand how CSS priority works, then please try to do a bit of research online.
This page will answer your question in the screenshot: https://wpexpert.se/enfold/text-block-font-sizes-example/
Not at all, I’m simply suggesting that when you design a website, it’s designed for the largest screen first, then the responsive settings adjust all the page elements to fit the appropriate size. That 72px value would still be there for the larger screens and naturally, adjust to smaller screens. That is how responsive websites are supposed to work.
You have explicitly told an element to be 72 pixels, with no further specification. How exactly should the theme then know when you want it to change, and on which screen sizes?
Best regards,
Rikard
This reply has been marked as private.
This reply has been marked as private.
Hi,
First of all, please try to calm down a little bit. If you don’t understand something, then it’s better to ask. I’ve made a test page for you, so that you can see what happens when you add CSS inline. The first header is a copy from your site, the second one is a Special Heading element from the Layout builder, and I’ve specified font sizes for different screen sizes in the theme options:
https://wpexpert.se/enfold/header-test-page/
As you can see, your heading is displayed at 72 pixels on all screen sizes, since the inline CSS has priority over other CSS, unless you have added !important to it. And as far as I can see, you have not specified font sizes for any other screen size. Are you suggesting that we override the styling you have added yourself? If so, then even the 72 pixel setting which you have added, would not be respected.
About the paragraphs on the other two page; I can’t see that you have made any font size settings on either page. Could you try to explain the problem a bit further?
Best regards,
Rikard
-
This reply was modified 3 years, 5 months ago by
Rikard.
Hi folks.
I would like to reduce the size of the “normal” font, the <p> one, only when used from mobile.
In general styling->typography, any change I apply to the size of H1, H2, H3 styles is immediately applied to my website.
All styles are working, BUT the first one, the “Default Content Font Size”. Any value I assign to this one, it is not apparently applied anywhere on my website.
I thought “there must be something in my CSS that is overriding this”. Therefore I wen to the staging area, I deleted the whole custom CSS, and nothing changed.
Do you have any idea? In “private” information on how to access to my website.
P.S. I resolved setting the <P> font size in the CSS, as suggested by @Rikard on this post. I just wanted to avoid to use yet another CSS trick…
THX in advance!
Bye,
A.-
Hey Sozo,
I’m not sure if I fully understand the problem you are having, but I’m guessing that you are referring to the page in private? If that is the case, then you have added the heading manually with the font size inline. Styling/CSS which is added inline will almost always override other CSS:
<h1 style="text-align: center;"><span style="font-size: 72px;">Our Store Policies</span></h1>
Maybe you could try using a Special Heading element instead?
Best regards,
Rikard
On several pages, I created a title bar using the colored background (w/image) and then placed title text on top of it and changed the font size to 72px While it looks great on large screens on mobile devices that text is not responsive, in fact, it keeps its original large screen size of 72px and depending on the device will do one of the following…
1.) Stack text on top of each other.
2.) Move text to the next line, but overlaps the lines to text, so they are displayed partially on top of each other
3.) Does nothing and the text is displayed off the screen.
I should note that I created a custom ID and CSS class for the text element in order to add a drop shadow to the text, but removing those settings completely did not change the display issue.
I, also, set mobile font sizes manually in the layout settings of the text element. Those settings are being ignored and do not appear in the mobile versions. They don’t appear in the emulators or real devices.
I’ve read all the documentation, and I can’t seem to figure out why these settings are being ignored and why this set of text is not responsive.
You can see the issue on the following pages.
Thank you!
This reply has been marked as private.
Hi A,
There were many errors in your custom CSS related to the way you add comments in CSS. I have corrected them. Following is the correct way of adding comments in CSS
/* Comment goes here */
And you had following custom CSS in Quick CSS field which was overriding default styling
#top .av-menu-button > a .avia-menu-text {
font-size: 16px !important;
font-family: 'Lato' !important;
background: #9cae30 !important;
border-collapse: separate !important;
border-width: 0px !important;
border-color: white !important;
border-radius: 5px !important;
color: white !important;
opacity: 1 !important;
padding: 10px !important;
box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5) !important;
-webkit-transition: 0.3s !important;
-moz-transition: 0.3s !important;
-ms-transition: 0.3s !important;
-o-transition: 0.3s !important;
transition: 0.3s !important;
}
I changed it to following
#top .av-menu-button > a .avia-menu-text {
font-size: 16px!important;
font-family: 'Lato'!important;
/* background: #9cae30!important; CAMBIO ANDREA */
border-collapse: separate!important;
border-width: 0px!important; /* CAMBIO ANDREA 30/6/2022, prima c'era 1px */
border-color: white!important;
border-radius: 5px!important;
color: white!important;
opacity:1!important;
padding:10px!important;
/* box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5)!important; */
-webkit-transition: 0.3s!important;
-moz-transition: 0.3s!important;
-ms-transition: 0.3s!important;
-o-transition: 0.3s!important;
transition: 0.3s!important;
border: solid !important;
}
You can now change border color in Enfold theme options > Advanced Styling > Menu Item Button with Border :)
Best regards,
Yigit
Hi,
Thanks for the feedback, the css above should have replaced the text “home” with the house icon, this part of the css above makes the text “home” font size zero:
.breadcrumb-trail a.trail-begin {
font-size: 0 !important;
}
if you didn’t add this part because you want to see the “home” then add the color to it like this:
.breadcrumb-trail a.trail-begin {
color: #fff;
}
if this doesn’t help please link to your page so we can check.
Best regards,
Mike
Hi,
Thank you for the update.
Looks like an issue with font size switcher. Is this only happening in the home page? Please try to edit the home page and update it or edit the elements inside the page and resave them.
To hide the warnings/errors temporarily, please edit the wp-config.php file and set the WP_DEBUG_DISPLAY constant to false.
// https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_display
Best regards,
Ismael
Hi Michael,
You’re welcome, I could see you’re registered on the forum as well :)
(3) H1 Styling
Edit the Special Heading and change Heading Style from Default Style to Heading Style Modern (left)
(4) H1 padding on mobile
I could see this CSS code in your site (margin-bottom is set to height relative to the size of the font) which is causing the issue.
h1 {
font-size: 2.7em !important;
letter-spacing: -0.1px !important;
line-height: 1.3em !important;
margin-bottom: 0.8em !important;
text-decoration: none !important;
}
Just remove the margin-bottom or just apply it on desktop.
For #5 & #6, please give us temporary admin access, so we can check further on the issue.
Just post the credentials privately.
Best regards,
Nikko
Hey Mountain,
Thank you for the inquiry.
The color of the text in the input field is already set to black when we checked. Did you add this css code?
#mainContainer input.count {
width: 40px !important;
margin: 0px 5px;
font-size: 1.2rem !important;
color: #000!important;
}
Best regards,
Ismael
there is a qrcode you can scan ;)
This idea is not advisable for SEO reasons. If it’s just about the sizes, font thicknesses, font transformations, etc., then you can change that via css, or various Enfold option settings.
Yes – the rule that manages the font size is set to !important – so the rule can’t override that unless you do the same – then the higher specificity decides:
#footer .widget p.widgettitle {
font-size: 30px !important;
font-weight: 500;
line-height: 33px;
}
Dear support team,
I’m currently working on a website where I want to change the font weight for a single heading (only occurs once on the page).
The heading is an h2 on the home page and since it is in yellow font and therefore not very legible, I would like to make this heading (unlike all other h2 headings on the website) thicker. The title is as follows: https://meine-achtsammlich.de/home/#was
So I gave this heading on the page in the developer settings a class designation called “heading” and inserted the following code in the Quick CSS:
#top.page-id-2852 h2 .headline {
font-weight: 600 !important;
}
Unfortunately this does not work!
What and how do I have to change the code so that only this one heading has its own font size?
Thank you and best regards, Diana
Hi there!
Working on an image w/ hotspots element, but I ran into a couple of issue:
1) I have a couple of text items that are a larger font size than the standard paragraph size (H3, specifically) but the tooltip width is set and isn’t “responsive” to a particular width of a word/line of text. As a result, the word “LOCATION” gets broken up into two lines:
LOCATIO
N:
Is there a way to make it so the width of the tooltip text boxes aren’t set to a specific width, but respond to the width of the text lines as I set them?
2) The image I placed in the background appears to have some sort of overlay or opacity applied to it that I’d like to remove so it doesn’t look so greyed out.
Thanks in advance!
How do I do this?
Change font size, bold ?
Hi,
Thank you for the inquiry.
Have you tried adjusting the style of the heading tags in the Enfold > Advanced Styling panel? You can also replace the Text Block with a Special Heading element and adjust the size of the font for different devices or screen sizes in the Styling > Font Sizes panel.
Best regards,
Ismael
This reply has been marked as private.
Hi cuccarini,
We apologize for the delayed response.
We have added this code in your Quick CSS (Enfold > General Styling), to make the products and invasion 2 items per row and archive post 3 items in a row:
@media only screen and (max-width:767px) {
.responsive #top #main .products .product {
width: 49%;
margin-right: 1%;
}
.responsive #top #main .products > .product:nth-child(2n) {
margin-left: 1%;
margin-right: 0;
}
.responsive #top .av-masonry-entry {
width: 49%;
margin-right: 1%;
position: static !important;
}
.responsive #top .av-masonry-container > .av-masonry-entry:nth-child(2n) {
margin-left: 1%;
margin-right: 0;
}
.responsive #top #wrap_all #main .avia-content-slider .slide-entry-wrap {
display: flex;
gap: 10px;
}
.responsive #top #wrap_all #main .avia-content-slider .slide-entry {
clear: none;
width: 33%;
}
.responsive #top #wrap_all #main .avia-content-slider .slide-entry .slide-entry-title {
font-size: 16px;
word-break: break-word;
}
}
Please review your site.
Best regards,
Nikko
Thank you. I don’t do code and it says for advanced users. I just screwed up putting code in the wrong spot that you guys supplied and you had to help me fix it. rather not screw this up again.
I SEE THIS IN YOUR DOCUMENTATION. I can try this but I do not know what Your styles here Mean not knowing how to do code to fill that part in.
sorry, just don’t do code and now I have to learn this stuff since it is no longer simple.
body {
/* Your styles here */
font-size: 14px;
}
Can you explain what goes in there.
Thank you!!
You removed the font size option to change it for the overall type in the theme in this section. I need to change the body of the whole website to larger font size. Please advise how to do that now. I do not do code.
Thank you.
Hi,
I have a strange situation starting with version 5 of Enfold. I currently confirm that the same problem version 5.1.1.
Enfold has changed the font in the backend writing articles. It has now switched to sans serif and Georgia font sizes and styles, and the ‘Custom backend block styles’ function no longer works. This is happening with the block Editor (not the Classic Editor).
How can I restore the system font as the previous situation…
Kind regards
C
Hi Veronika,
Please try to add this CSS code:
span[data-pin-log="button_pinit_floating"] {
font-size: 18px !important;
padding: 20px 20px 20px 30px !important;
height: auto !important;
background-size: 32px !important;
background-position-x: 10px !important;
}
Best regards,
Nikko
hi
I want to customize the font size of the page, I change font size(size 36px ), but it doesn’t work.
Hi,
Thanks for the update. Please try this CSS instead:
@media only screen and (min-width: 768px) and (max-width: 1024px) {
h2.avia-caption-title {
font-size: 30px !important;
}
}
@media only screen and (max-width: 767px) {
h2.avia-caption-title {
font-size: 20px !important;
}
}
Best regards,
Rikard
Hey AWZ,
Thank you for the inquiry.
You can now adjust the font size of the caption title and content for different screen sizes using the responsive font size settings. Please edit one of the slides, then go to the Styling > Font Sizes panel. You will see icon toggles or switcher for different devices (mobile, tablets etc) where you can manually specify a font size value for a specific screen size.
For the slider images, you can keep using css code that you added to adjust the size of the slide background for different screen sizes. Or as you already know, use the visibility options and create dedicated sliders for different screens or devices.
You can also check and try the layer slider plugin which is included in the theme by default. The plugin offers a lot more in terms of option and customization. There are also pre-made templates from the plugin library which should be responsive by default.
Best regards,
Ismael
My footer visually looks the way I want it to with one exception…
I’d like the social icons in the footer centered horizontally on mobile. How do I do that?
Also, are my existing CSS edits good or need modifications/removal:
=====================================
/* Footer styling. */
#footer .container {display: flex; flex-flow: row wrap; align-items: center; padding-right:0px!important;}
#footer.container_wrap.footer_color {border-bottom: none!important; border-top: 1px solid #c9c9c9 !important;}
#footer .widget {text-align: center; padding: 0; margin: 0;}
#footer .widget_nav_menu li{text-transform: uppercase; padding:0 40px!important; line-height: 1.1em;}
/* Social bookmarks in footer styling. */
#footer .social_bookmarks li {margin: 0 0 0 50px;}
ul.social_bookmarks + .widget {display: none;}
.social_bookmarks {font-size:20px!important;}
#top .social_bookmarks li a {width: 50px; line-height: 50px;}
#top .social_bookmarks li {width: 50px; height: 50px; margin-left: 0px;}
#top #wrap_all .av-social-link-instagram:hover a {color: #fff; background-color: #C13584;}
=====================================