Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #335286

    Hi guys!!!

    I am so loving the new release features!! Amazing job!!! I have encountered one small problem (I could replace the special heading with code but wanted to check with you to see if you had some kind of quick fix to the css)

    I setup advanced styling to the H1 and H2 headings but I do not want it applied to the all of them as the background color may not look very good with it.
    Before the release, I could set up custom color on the same tab. Now there’s a new tab but custom color does not seem to take effect.

    Is there a css quick fix you could share with me?

    Thank you!
    Havi

    • This topic was modified 10 years, 2 months ago by havi. Reason: added credentials for moderators
    #335484

    Hey havi!

    Thank you for using Enfold.

    Yes, we already reported the issue to Kriesi. If you don’t want the advanced styling to override the custom colors, edit config-templatebuilder > avia-shortcodes > heading.php. Find this code on line 263:

    $output .= "<div {$styling} class='av-special-heading av-special-heading-{$tag} {$color} {$style} {$class}'>";
    	        		$output .= 		$before;
    	        		$output .= 		"<{$tag} class='av-special-heading-tag' $markup >{$heading}</{$tag}>";

    Replace it with:

    $output .= "<div class='av-special-heading av-special-heading-{$tag} {$color} {$style} {$class}'>";
    	        		$output .= 		$before;
    	        		$output .= 		"<{$tag} {$styling} class='av-special-heading-tag' $markup >{$heading}</{$tag}>";

    Regards,
    Ismael

    #335686

    Thank you, Ismael!! :)

    I prefer to wait as I am always afraid of modifying these types of files. A little css goes a long way with me but I truly appreciate it. I will replace the special heading with:

    <h2 style=”color: #fff;”>text</h2> as I already did on the other pages where I need the color to be custom, Otherwise, the advanced styling works perfect for this site.

    I can revert them back when the code is updated.

    Thanks again and great work!! I am about to have another client go with Enfold and this makes 4!!! (and with myself it makes 5)

    Quick question: so far each one of them has purchased the code on their own but this last client is asking me to do it for them. Do I just purchase it twice to get a new license?

    Thanks again!!

    warmly,

    Havi

    #337588

    Hey Havi!

    Yes, you can purchase Enfold as many times as you want with a single Themeforest account :)

    Cheers!
    Josue

    #337993

    Thank you, Josue!! :) The versatility of enfold is unparalleled!! :)

    Warmly,

    Havi

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Advanced styling overwriting custom color on special heading’ is closed to new replies.