-
AuthorPosts
-
October 18, 2018 at 11:27 pm #1023696
Hi,
I just bought and install Enfiold with it’s pre-built child theme and Enfold Gym demo files.
My main menu do not display all Mega-menu titles and sub-menu items with the same font and display.
First mega-menu uses displays sub-menu items verticay with a font, the next mega-menu dispays the sub-menus horizontaly with another font etc … One menu on two is different.
Is this a normal ?
Where can I disable this and have all sub-menus vertically with the same font ?Thank you.
October 19, 2018 at 5:55 pm #1024128Hey Philippe,
Please provide a link to the site in question so we can look into this further.
Best regards,
Jordan ShannonOctober 19, 2018 at 8:50 pm #1024217October 22, 2018 at 7:24 am #1024707Hi xtenz,
I can see this css code being added, probably in Quick CSS:
h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li.oswald { font-family: 'Oswald', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
To fix it, you can add this css code:
#top .av-special-font { font-family: inherit; }
Hope it helps.
Best regards,
NikkoOctober 22, 2018 at 8:26 am #1024731Hi Nikko,
The Quick CSS area in the admin is empty and anyway, I did not add CSS code manually because I do not understand CSS.
Then, if this extra code is the problem, it has generated itself from your software, but I do not know how or when.
Maybe when I installed Enfold child or when I created a menu?I did what you recommended, but it solves only the font problem, not the way the submenus are displayed.
And I’d rather you tell me where the problem actually comes from than adding code to fix useless code …
If you need admin access for that, tell me.Thank you.
October 22, 2018 at 2:19 pm #1024866Hi xtenz,
Yes please do give us admin access, so we can check the backend and inspect further.
Just post the credentials in private content, so it’s only visible to the moderators.Best regards,
NikkoOctober 22, 2018 at 2:57 pm #1024890credentials moved to private content
- This reply was modified 6 years, 1 month ago by Nikko. Reason: security
October 23, 2018 at 7:58 am #1025269Hi xtenz,
Thanks for giving us admin access.
The login credential works however it does redirect me to the homepage instead of the admin page after successful login.
I tried the link in private content which is the default link for the WP Dashboard but it also redirects to the homepage, please check.Best regards,
NikkoOctober 24, 2018 at 4:20 pm #1025964Hi,
Sorry forgot to update the role of your user.
Please try again.(It seems that this problem came when we install the child theme or created a menu. Not sure …)
October 27, 2018 at 11:44 am #1026994This reply has been marked as private.October 27, 2018 at 5:05 pm #1027099Hi xtenz,
I apologize for the late response, also it was my mistake to think that it was from Quick CSS or some custom css. It was from the css generated by Enfold Theme Options, try adding this code at the bottom of functions.php:
function ava_generate_styles_custom() { global $avia_config; extract($styles); $avia_config['style'][2] = array( 'elements' => 'h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li', 'key' => 'google_webfont', 'value' => avia_get_option('google_webfont') ); } add_action('ava_generate_styles', 'ava_generate_styles_custom', 60, 3);
This should remove that specific tag to be included.
Hope this helps.Best regards,
NikkoOctober 27, 2018 at 5:18 pm #1027108This reply has been marked as private.October 27, 2018 at 5:27 pm #1027114This reply has been marked as private.October 29, 2018 at 8:09 am #1027396Hi xtenz,
Please remove the code from where you have added it.
You should place it at the bottom of functions.php.
Inside the WP Dashboard go to Apperance > Editor, you should see functions.php in the list and paste it in there, I tried it however I’m prevented to add it there.
Another way to add it is via ftp, you should find it in wp-content > themes > enfold-child > functions.php.
Let us know if this helps.Best regards,
NikkoOctober 29, 2018 at 2:05 pm #1027552Hi,
Sorry but when I add this code to the function.php file it breaks everything.
The site turns to a blank page and wordpress interface does not load.
As soon I remove this code, everything comes back …Regards
October 30, 2018 at 8:56 am #1027905Hi xtenz,
Probably it’s from the single or double quotes from the code.
Can you give us ftp access? so we can try to add it.
Just post the credentials in private content, so it’s only visible to the moderators.Best regards,
NikkoOctober 30, 2018 at 9:15 am #1027909This reply has been marked as private.October 30, 2018 at 12:04 pm #1027960Hi,
Can you try to change the permission for functions.php?
I can’t seem to modify it, here is the screenshot of what I’m getting when trying to edit functions.php (same if I try to edit other files): https://imgur.com/a/coVQEZu
I also tried adding it in Appearance > Editor, however I’m getting this notice:Vous devez rendre ce fichier accessible en écriture avant de pouvoir enregistrer vos modifications. Lire la documentation CHMOD pour plus d’informations.
Best regards,
NikkoNovember 2, 2018 at 2:04 pm #1029156This reply has been marked as private.November 3, 2018 at 1:20 pm #1029482Hi,
I added your code to the function.php file but this changes nothing …
Please help.
November 5, 2018 at 9:05 pm #1030033Hi xtenz,
I have checked it and you have done it correctly.
I just went to the WP Dashboard > Enfold Child > Performance > checked Delete old CSS and JS files? and Save. This is necessary since your site is fetching the cached css, by doing the procedure I made, it ensures that a new css file must be fetched.
Let us know if you need further assistance.Best regards,
NikkoNovember 6, 2018 at 7:47 pm #1030539Hi,
Sorry but either we do not understand each other, either your code changed nothing because the problem remains …
I still see different fonts, color and display in my menus and submenus.
I want all menus and sub-menus to be displayed the same way : white font and vertically.Please check again and/or see this : http://www.xtenz.com/Menus.mov
Thank you.
November 8, 2018 at 2:02 pm #1031256Hi xtenz,
I see, the fonts are the same but the color, size and weight aren’t changed.
I have modified it in Quick CSS.Best regards,
NikkoNovember 8, 2018 at 2:04 pm #1031257Hi,
Thank you but one submenu of two is displayed vertically and horizontally
I want all menus and sub-menus displayed vertically.November 8, 2018 at 2:13 pm #1031263Hi xtenz,
Those submenus displayed horizontally are set as Mega Menu in Appearance > Menus.
I have unchecked the mega menu option.Best regards,
NikkoNovember 8, 2018 at 6:07 pm #1031336Hi,
Thank you.
I didn’t set the menus to Mega Menu myself.
This changed when I installed the child theme while menus were already done.Now I can’t find where I can change the font size of all sub-menus items to 15px and where to change the font color of all main and sub-menus items to #c20f0f.
Thank you for your help.
November 13, 2018 at 12:34 am #1032811Hi,
Could you answer please ?
Thank you
November 13, 2018 at 12:07 pm #1032952Hi xtenz,
I apologize for the late response.
It’s in Enfold > Advanced Styling > Main Menu Submenu Links (make sure not check mouse hover).
I have changed the size 15px. Let us know if you need further assistance.Best regards,
NikkoJanuary 9, 2019 at 12:29 pm #1051776Hi Nikko,
Sorry to disturb but I am still in trouble with the advanced styling settings.
No more color, or fonts or size are displayed anymore in that section of Enfold child settings.
Could you connect and check this for me please ?
(Please try to not remove all my fonts and colors ;-))Thank you
January 12, 2019 at 10:13 pm #1053237Hi,
Sorry for the late reply, I have tried to read the past posts in this thread to have an idea of your issue, but I’m not sure I understand your newest post.
I looked at your advanced styling settings, but I do see main menu colors and fonts options, the submenu doesn’t have these options because they get there values from the main menu options.
Perhaps if you could explain what you would like to change we could assist with some css.Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.