Tagged: Advanced Styling, custom color, special heading
-
AuthorPosts
-
October 14, 2014 at 12:44 am #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, 1 month ago by havi. Reason: added credentials for moderators
October 14, 2014 at 9:57 am #335484Hey 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,
IsmaelOctober 14, 2014 at 6:06 pm #335686Thank 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
October 18, 2014 at 5:16 am #337588Hey Havi!
Yes, you can purchase Enfold as many times as you want with a single Themeforest account :)
Cheers!
JosueOctober 19, 2014 at 7:24 pm #337993Thank you, Josue!! :) The versatility of enfold is unparalleled!! :)
Warmly,
Havi
-
AuthorPosts
- The topic ‘Advanced styling overwriting custom color on special heading’ is closed to new replies.