-
AuthorPosts
-
June 27, 2016 at 2:43 pm #653790
Hello,
I have two very similar WP-sites with Enfold.
After one of the recent Enfold updates the 1st site has HTML
<div id="main" class="all_colors" data-scroll-offset="116">
and the 2nd site has only
<div id="main" data-scroll-offset="116">
The class=”all_colors” is missing on the 2nd site!
Because of this missing class the CSS-Settings from Enfold Child Theme Options->Advanced Styling are not working anymore on the 2nd site. All that H1-H5 stuff is now wrong on the 2nd site.
How can the class=”all_colors” be added to div id=”main” of the 2nd site ?
Both sites use WP 4.5.3 and Enfold 3.6.1.
I saw your colleague Vinay added this class on the June 10, 2016 at 4:32 pm: https://kriesi.at/support/topic/enfold-whats-changed/ to an Enfold-Update. So the question goes presumably to Vinay.
Regards
Adele
June 27, 2016 at 4:28 pm #653863Hey 2wmedia,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
AndyJune 28, 2016 at 2:19 pm #654217Hello Andy, here are the infos for the 2nd site, the problematic one:
June 30, 2016 at 3:11 pm #655301Hi,
I notice the issue on your site. When you try to edit the h1 – h6 heading styles in Advanced Styling options it don’t reflect. This issue is not related to “all_colors” or “wrap_all” class. When the same class names are added to the div there were no visible changes.
Please backup the theme options and let us know we will try to reset the color scheme in Enfold > General Styling > Select a predefined color scheme. This should fix the issue.
Best regards,
VinayJune 30, 2016 at 3:45 pm #655325Hi, thanks for taking a look.
Sorry, but I don’t understand how you come to the result “there were no visible changes”?
If you deactivate in Firebug my correcting CSS (for H2, see the pic in my private comment of une 28, 2016 at 2:19 pm) you can immediately see changes on H2 – it becomes wrong, with text-transform:UPPERCASE and with wrong size 28px.
But as fast as I add the class=”all_colors” to div id=”main”, then the H2 becomes like it is set under “Enfold Child Theme Options->Advanced Styling” and is supposed to be: text-transform:none and correct size 27px.You can also take H5 as an easier example, which is supposed to be grey #575757 according to “Enfold Child Theme Options->Advanced Styling”, but is not like that at all, because class=”all_colors” in <div id=”main” … > or in other parent elements is missing. Here is a page with H5:
July 4, 2016 at 3:26 am #656365Hi,
and the 2nd site has only
<div id=”main” data-scroll-offset=”116″>
The class=”all_colors” is missing on the 2nd site!Did you modify the header.php file in the child theme? Please make sure that this line exists:
<div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'>
Best regards,
IsmaelOctober 12, 2017 at 10:25 pm #863648Thanks Ismael, you can close this topic as solved.
October 12, 2017 at 10:50 pm #863662Hi,
I’m glad this was solved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘class="all_colors" Problem, probably because of Enfold update’ is closed to new replies.