Topic Resolution: Resolved
  • Closed
  • Michael Chmilar
    Spectator
    17.07.2015 at 23:14 #19024

    Using Alora theme, changing the Theme Skin does not affect the font color for Heading styles (ie. H2, H3).

    I tested using the demo content to verify. To repeat the problem:

    – Start with Theme Settings -> Styling -> Select Theme Skin is “Light” (the default).

    – Edit a blog post and add a line with style “Heading 2”.

    – Preview post to verify the heading is present and correct color (black).

    – Go to Theme Settings -> Styling and change Select Theme Skin to “Dark”, and then Save All Changes

    – Scroll down to Font Colors section and verify that H2 Font Color has changed to white.

    – Go back to blog post and Preview it. The color scheme is changed to Dark, but the H2 line is still black, not white.

    Also, if Styling -> H2 Font Color is manually changed, the change is not picked up in the blog post. Changing the font color manually in the post editor does change the color.

    Denzel Chia
    Moderator
    Posts: 2656
    18.07.2015 at 19:28 #19028

    Hi,

    Thanks. It’s a bug. If you are using Alora version 2.7.0
    Please open up dynamic_css.php go to line 1157 to 1167 and find the following codes.

    <?php if($smof_data['h2_color']): ?>
    .post-content h2,
    .t4p-title h2,
    .title h2,
    .woocommerce-tabs h2,
    .search-page-search-form h2,
    .cart-empty,
    .woocommerce h2,
    .woocommerce .checkout h3 {
    color:<?php echo $smof_data['h2_color']; ?>;
    }

    and change to the following codes.
    <?php if($smof_data['h2_color']): ?>
    .post-content h2,
    .post h2,
    .t4p-title h2,
    .title h2,
    .woocommerce-tabs h2,
    .search-page-search-form h2,
    .cart-empty,
    .woocommerce h2,
    .woocommerce .checkout h3 {
    color:<?php echo $smof_data['h2_color']; ?> !important;
    }

    Thanks!
    Denzel

    Michael Chmilar
    Spectator
    Posts: 3
    18.07.2015 at 22:04 #19034

    Fantastic. That fixes the problem.

    I also applied the same change (adding the !important flag) to H1 – H6.

    Thanks-you.

    Denzel Chia
    Moderator
    Posts: 2656
    20.07.2015 at 04:33 #19045

    Hi,

    Glad it helped.

    Thanks!
    Denzel