-
AuthorPosts
-
April 16, 2015 at 2:17 pm #429603
Hi,
In my homepage, I would like to set up the first caption of my slider (easy slider) as my H1 of this page.
However, when trying to do so (adding the H1 tag into my caption field), I loose the CSS of my caption, because the caption itself is defined as H2 apparently….
Any Idea how I can configure that?Please let me know!
Thanks!April 17, 2015 at 6:15 am #430093Hi Lev!
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
RikardApril 19, 2015 at 7:38 am #430823April 20, 2015 at 10:15 am #431186Hey!
You could just copy/paste the CSS you have already into this block:
h2.avia-caption-title{ /* YOUR CSS UNDER THIS LINE */ }Best regards,
RikardApril 21, 2015 at 9:35 am #431842I exactly did that! take a look at my screenshot (of my quick CSS): http://screencast.com/t/Fv3O2IAJ3u
And it still does not work!! look screenshot of my website: http://screencast.com/t/924ZUDDzEjJPLEASE HELP BECAUSE IT IS REALLY CRUCIAL !!!!!!
Thank You !April 21, 2015 at 9:38 am #431844And this is how I’ve inserted it inside my caption (of my slide)
http://screencast.com/t/NJ12i4dZ85O
Please advice !!!!
ThanksApril 22, 2015 at 3:21 am #432502Hey!
That won’t work, HTML content will be stripped. If you want to have your caption to be an h1 instead of an h2 you’d need to edit /enfold/config-templatebuilder/avia-shortcodes/slideshow.php, change line 788:
if(trim($title) != "") $title = "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";To:
if(trim($title) != "") $title = "<h1 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h1>";Best regards,
JosueMay 21, 2015 at 7:29 am #447600Thanks!
Its work… -
AuthorPosts
- The topic ‘Seting up of my html tag H1 in my HP’ is closed to new replies.
