-
AuthorPosts
-
March 31, 2014 at 1:28 pm #245428
I would like to know how
remove the background and black text caption title e caption text
example: http://www.primisdesign.com/wp-content/uploads/2014/03/PRIMIS_.jpg
tank you
BrunoMarch 31, 2014 at 1:43 pm #245433Hi bborsi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title { background: transparent; color: black; }
Best regards,
YigitMay 6, 2014 at 1:26 pm #260704Dear Enfold Theme Team,
Since I updated the theme I have a problem with the avia caption Title and content. I want the title to be white and h3. The content below must also be white, and a bit smaller. After the update the title I became a h2. So i changed slideshow.php the way it was. Then the content text was black. The I found some quick css codes. Now it is a h2 again, and it says itemprop = description. I removed the quick css and it stays that way. Could you please help me?
My website is http://www.onevents.nl
Thanks a lot in advance!
best,
Daniel
May 6, 2014 at 1:36 pm #260710Hi!
Please replace slideshow.php file via FTP with a new one then add following code to Quick CSS
.avia-slideshow .avia-caption .avia-caption-title, .avia-caption .avia-caption-content p { color: white!important; }
Regards,
YigitMay 6, 2014 at 2:31 pm #260730Dear Yigit,
Part of the problem is gone, but how can I change it to h2?
best,,
Daniel
May 6, 2014 at 3:19 pm #260755O sorry I mean h3
May 7, 2014 at 5:14 am #261105Hey!
Thank you for the update.
Please edit config-templatebuilder > avia-shortcodes > slideshow.php, find this code on line 700:
if(trim($title) != "") $title = "<h2 class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
Replace it with:
if(trim($title) != "") $title = "<h3 class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h3>";
Cheers!
IsmaelMay 7, 2014 at 11:50 am #261257Dear Ismael,
Thanks for your response, but it didn´t work. The codes on line 701 look different. I tried remanimg the h2, but nothing.
It says now:
if(trim($title) != “”) $title = “<h3 class=’avia-caption-title’ $markup_name>”.trim(apply_filters(‘avf_slideshow_title’, $title)).”</h3>”;
if(is_array($content)) $content = implode(‘ ‘,$content); //temp fix for trim() expects string warning until I can actually reproduce the problem
if(trim($content) != “”) $content = “<div class=’avia-caption-content’ $markup_description><h4>”.ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop(trim($content))).”<h4></div>”;Hope you can help!
Daniel
May 7, 2014 at 5:31 pm #261407Dear Ismael,
I solved it. I used the old slideshow.php in combination with quick css code from Yigit. I didn`´t work at first, but now it does.
Quick css:
.avia-slideshow .avia-caption .avia-caption-title, .avia-caption .avia-caption-content p { color: white!important; }
Line 700 and later from slideshow.php are:
if(trim($title) != “”) $title = “<h3 class=’avia-caption-title’ $markup_name>”.trim(apply_filters(‘avf_slideshow_title’, $title)).”</h3>”;
if(is_array($content)) $content = implode(‘ ‘,$content); //temp fix for trim() expects string warning until I can actually reproduce the problem
if(trim($content) != “”) $content = “<div class=’avia-caption-content’ $markup_description>”.ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop(trim($content))).”</div>”;Case closed, I hope I could it could help anybody with the same problem in the future, thanks for your help.
Daniel
May 7, 2014 at 5:34 pm #261413 -
AuthorPosts
- The topic ‘FULLWIDTH EASY SLIDER – CHANGE caption title e caption text’ is closed to new replies.