Forum Replies Created
-
AuthorPosts
-
Nevermind! I cleared the Cloudflare cache and all is well.
LeeAnneHi, I’m having the same problem here: http://www.swwabigs.org
I uploaded Zillah Slab and changed the body text to it, and it shows in the preview but not the site. I’ve flushed the cache etc., and checked my child theme css, but I can’t see what’s holding up the change. I can’t see what elements the new font should be applied to when I inspect the pages, either. Any ideas about what might be going on?
Thanks,
LeeAnneBasilis — I don’t understand what I am correct about — the issue is still that the MAIN MENU does not appear at the top on mobile devices as it should. In my second note, I just clarified that the footer menu at the bottom is not the main menu, so has nothing to do with the problem. There is still no main menu ‘buerger’ or anything on mobile devices. I really need to figure this out for my client. I swear the MAIN MENU burger used to appear next to their logo on mobile devices, but it doesn’t any longer. Please help if you can.
Thanks!
LeeAnneSorry — the menu at the bottom is the footer menu. So that means the main menu just disappears in the mobile version.
October 26, 2017 at 11:07 pm in reply to: Enfold layerslider blank in Chrome with js unsafe-eval error #869351Hi Victoria,
Sorry to take so long to get back to you. I just upgraded the site to Enfold 4.2, and we’re using a child theme Enfold BBBS. Still getting the errors in Chrome, and no layerslider — just a blank space:
Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “default-src ‘self’ data: ‘unsafe-inline’ https: *”. at layerslider.kreaturamedia.jquery.js:1
layerslider.transitions.js:1 Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “default-src ‘self’ data: ‘unsafe-inline’ https: *”. at layerslider.transitions.js:1Temporary admin access in private content. Will post solution here once I know what it is.
THANKS!
I got rid of the bouncing menu! I registered a similar font to futura condensed (cabin condensed) using the function you recommended, then used this in my child theme css:
#top #header .av-main-nav > li > a {
color: #000;
font-weight: 700;
font-family: ‘Cabin Condensed’, sans-serif !important;
font-size: 1.2em !important;
letter-spacing: -0.05em;
padding: 0 8px;
height: 24px !important;
line-height: 24px !important;
margin: 46px 0 6px 0;
}Works!
Thanks!
Hi Yigit,
Thanks, I tried that and was able to add more fonts, but that doesn’t work for us.
We need a different font and font size in the main nav menu than the other headings. The only setting I see in enfold for heading fonts also changes my nav menu. There does not seem to be a setting for fonts for just the nav menus, unless I’m missing something.
I have been playing around in uploads/dynamic_avia/enfold_bbbs.css trying to see how that works, and not getting anywhere.
How can I apply one font and font size to the nav menus, and another to all other h2 headings?
This is in my child theme — and it works just as I want, except for the size bounce:
#top #wrap_all #header .av-main-nav > li > a {
color: #000;
font-weight: bold;
font-family: ‘futura-pt-condensed’, sans-serif !important;
font-size: 22px !important;
}And this is in the dynamic css:
#top #wrap_all .av-main-nav ul > li > a, #top #wrap_all .avia_mega_div, #top #wrap_all .avia_mega_div ul, #top #wrap_all .av-main-nav ul ul{color:#660099;}#top #wrap_all .main_color h2, #top #wrap_all .alternate_color h2{color:#660099;font-size:28px;line-height:1.2em;font-weight:bold;text-transform:uppercase;}#top #header_meta, #top #header_meta nav ul ul li, #top #header_meta nav ul ul a, #top #header_meta nav ul ul{background-color: #8f23b3;}#top #header_meta a, #top #header_meta li, #top #header_meta .phone-info{color: #fff;}#top #header .av-main-nav > li {font-family: Raleway;}#top #header .av-main-nav > li > a{color:#1e1f2e;font-size:22px;font-family:’Raleway’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif;}#top #header .av-main-nav > li > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext{color: #1e1f2e;}
Hi Rikard,
Thanks! Login posted in private content.
LeeAnne
Hi Basilis, thanks for getting back so quickly. I would like to create a pre-made set for my client to use. I assume that would be done in the child theme functions.php — so if you can provide code for that, it would be very welcome.
I found the css classes to change, so that won’t be a problem
.av-menu-button-colored > a .avia-menu-text {
background-color: #c9c9c9;
color: #ffffff;
border-color: #a7a7a7;
} -
AuthorPosts