-
AuthorPosts
-
March 19, 2020 at 11:20 am #1194369
Dear Kriesi-Mods!
I’m building a new website and since last week I’m having trouble with the displayed font in some elements. The main content like text and headlines is ok (heading: Asap bold / text: roboto regular – both fonts are imported zip-files).
But a wrong font is displayed for example in:
– Main menu submenu links
– icon list
– footer menu
– simple sliderAnd probably in more elements (for links see private content). It worked well for weeks but all of a sudden this error occured.
I tried a few things like importing the fonts once again or changing fonts. Nothing worked.
What to do?
Thx in advance
March 20, 2020 at 4:34 am #1194673Hey larsjohow,
Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardMarch 20, 2020 at 9:57 am #1194743March 21, 2020 at 3:51 am #1194987Hi,
Thanks for that. I removed this from your Quick CSS:
li {font-family: 'Roboto'!important; font-style: normal!important; font-weight: 400!important; }
And it seems to be back to normal after that. Please review your site.
Best regards,
RikardMarch 26, 2020 at 9:43 am #1197982Thx a lot!
I put the code into the Quick CSS because I don’t want the heading-font (Asap) in the submenu links. So I just put the Code back in and however it now works pefectly again.March 26, 2020 at 12:32 pm #1198000UPDATE: It didn’t work on the mobile menu. So I again deleted the code in Quick CSS. Is there a possibility to have Roboto (the normal text font) for submenu links?
- This reply was modified 4 years ago by larsjohow.
March 26, 2020 at 2:11 pm #1198027One more question: The &-sign is not displayed correctly in Special Heading. See here “Einsatzgebiete & Module”: http://h2860849.stratoserver.net/wordpress/index.php/logbuch/
I would really like to use this sign in headings but I need to use Special Heading because in regular text/heading the font size doesn’t change on mobile devices, which of course causes real problems on small displays.
Once again thx in advance!
March 27, 2020 at 5:30 am #1198218Hi,
Thanks for the update. I couldn’t see any problems on your mobile menu, could you post a screenshot of it please? Or maybe I’m misunderstanding you, do you want the Roboto font for the sub menu items?
You can remove the styling from the special amp by adding this CSS:
.special_amp { font-family: inherit; font-style: normal; font-size: inherit; line-height: inherit; font-weight: normal; }
Best regards,
RikardMarch 27, 2020 at 10:01 am #1198274“do you want the Roboto font for the sub menu items?”
Yes, exactly! The problem is: I now put back this code into Quick CSS:
li {font-family: 'Roboto'!important; font-style: normal!important; font-weight: 400!important; }
So now the menu on desktop-screens works well. But on mobile displays the font is completely wrong again (on all levels). And as I mentioned above, it worked well a few weeks ago.
- This reply was modified 4 years ago by larsjohow.
March 28, 2020 at 4:32 am #1198506Hi,
Thanks for the clarification. Please try this CSS instead:
nav.main_menu .avia_mega_div ul li a, #av-burger-menu-ul ul.sub-menu li a span { font-family: 'Roboto'!important; font-style: normal!important; font-weight: 400!important; }
Best regards,
RikardMarch 30, 2020 at 10:35 am #1199033I’m afraid that does not work. Not on big screens and not on mobiles either. I left that code on Quick CSS so you can check.
April 1, 2020 at 8:41 am #1199655Hi,
Thanks for the update. Please try this CSS instead:
nav.main_menu .avia_mega_div ul.sub-menu .avia-menu-text, #av-burger-menu-ul ul.sub-menu li a span { font-family: 'Roboto'!important; font-style: normal!important; font-weight: 400!important; }
Best regards,
RikardApril 17, 2020 at 2:47 pm #1204723It happened again! The font in submenu links changed again – somehow.
I do like the Enfold-Theme. But I got to say: I worked with several themes before and this shouldn’t be an issue at all. Also this should not be something to fix with code. There should be an option in the general stylings where you can simply pick a font family, style, size … without Quick CSS or anything else! And of course it should work properly and constantly.
So how can we fix this? Thx in advance!
April 19, 2020 at 12:49 am #1205146 -
AuthorPosts
- You must be logged in to reply to this topic.