Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1081319

    Hi Team Kriesi,

    there are some strange css problems after the update from 4.5.4 to 4.5.5. I inspected the code and found some wrong syntax I think.

    css code in 4.5.4

    <div class="av_iconlist_title iconlist_title_small av_inherit_color av-mini-font-size-overwrite av-mini-font-size-20" itemprop="headline" style="color:#ffffff; font-size:27px; ">8-teiliges Sortiment</div>

    css code in 4.5.5 that causes some things not to render (double style=)

    <div class="av_iconlist_title iconlist_title_small av_inherit_color av-mini-font-size-overwrite av-mini-font-size-20" itemprop="headline" style=" style=" color:#af0000;="" font-size:27px;="" 'color:#ffffff;="" '="">8-teiliges Sortiment</div>

    And of course nothing was changed by me.
    Here you can see both boxes before and after the update – white font color is correct.
    graphics

    Thanks for inspecting this!
    heavy

    • This topic was modified 5 years, 8 months ago by heavyman.
    #1082288

    Hey heavyman,

    Have you tried to clear your cache after updating the version?

    Best regards,
    Basilis

    #1082316

    Hey Basilis,

    yes of course – we did everything we can;-)) but we are sure this must be a bug in the Theme. We changed the font color of the symbol list to #ffffff. As you can see above there is a double “style=” in the code and therefore the #ffffff is not rendered. When we switch back to 4.54 everything is ok.

    #1083523

    Hi,

    Thank you for using Enfold.

    I tried to reproduce the problem on my dev install, but could not.

    Could you create a WP admin account for us so we can check your backend ?

    Please also enable debug mode by adding the code provided in this link to your functions.php file which can be accessed from Appearance > Editor

    This lets us view the shortcode for all the page elements. Maybe this helps to locate the problem.

    You can add the credentials in the Private content field.

    Best regards,
    Günter

    #1083535

    Hi Günter,

    debug mode is enabled by default on our installations;-)
    You can find the login credentials in private section – the shortcode is not changing in the portfolio when you switch between 4.54 and 4.55!
    We also deactivated all plugins and erased all css codes – changed nothing.
    Thanks for inspecting this.

    Best regards
    heavy

    #1083761

    Hi,

    Thanks for your feedback.

    I found the bug.

    In enfold\config-templatebuilder\avia-shortcodes\iconlist\iconlist.php in line 519 you find:

    
    $this->screen_options = AviaHelper::av_mobile_sizes( $atts );
    

    Below this line please add:

    
    				$this->icon_html_styling = '';
    				$this->title_styling = '';
    				$this->content_styling = '';
    				$this->content_class = '';
    				$this->title_class = '';
    				$this->iconlist_styling = '';
    

    This should fix the problem. I will also check the other elements for a similar problem.

    If you need assistance for the modification let us know and we can do it for you (I see 2 Enfold themes in the WP backend editor – therefore I did not update it).

    Best regards,
    Günter

    #1083763

    Hi Günter,

    thanks – this modification did it. Be sure to implement this in the update;-))

    Best regards
    heavy

    #1083765

    I have no idea how to add this, can a mod please do it?

    Hi,

    Thanks for your feedback.

    I found the bug.

    In enfold\config-templatebuilder\avia-shortcodes\iconlist\iconlist.php in line 519 you find:

    $this->screen_options = AviaHelper::av_mobile_sizes( $atts );
    Below this line please add:

    $this->icon_html_styling = ”;
    $this->title_styling = ”;
    $this->content_styling = ”;
    $this->content_class = ”;
    $this->title_class = ”;
    $this->iconlist_styling = ”;
    This should fix the problem. I will also check the other elements for a similar problem.

    If you need assistance for the modification let us know and we can do it for you (I see 2 Enfold themes in the WP backend editor – therefore I did not update it).

    Best regards,
    Günter

    #1083768

    That did it! Thanks!

    #1083776

    Worked it out just now, all fixed

    #1084162

    Hi,

    Glad Günter’s solution worked. We will include the fix in upcoming update :)

    Cheers!
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Possible CSS rendering bug in 4.5.5’ is closed to new replies.