Hi Max,
I found out that google doesnt like multiple <H1> title tags on a page. The index.php has three: one for each slider page.
So, is there anyway I can change this tag and still have a similar text size and contrast?
Thank you.
Jim
Hi Max,
I found out that google doesnt like multiple <H1> title tags on a page. The index.php has three: one for each slider page.
So, is there anyway I can change this tag and still have a similar text size and contrast?
Thank you.
Jim
Hi Jim,
in index.php file find this code:
<div id="slides"> <div class="slide-wrapper"> <div class="app_text"> <h1><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_title')) ?></h1> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_text')) ?></p> </div> </div> <div class="slide-wrapper"> <div class="app_text"> <h1><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_title')) ?></h1> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_text')) ?></p> </div> </div> <div class="slide-wrapper"> <div class="app_text"> <h1><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_title')) ?></h1> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_text')) ?></p> </div> </div> </div>
<div id="slides"> <div class="slide-wrapper"> <div class="app_text"> <div class="headtext"><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_title')) ?></div> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_text')) ?></p> </div> </div> <div class="slide-wrapper"> <div class="app_text"> <div class="headtext"><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_title')) ?></div> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_text')) ?></p> </div> </div> <div class="slide-wrapper"> <div class="app_text"> <div class="headtext"><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_title')) ?></div> <p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_text')) ?></p> </div> </div> </div>
.headtext {font-size: 30px; color: #0D0D0D;}
<script type="text/javascript">
Cufon.replace('h1');
Cufon.replace('h2 a');
Cufon.replace('h3');
Cufon.replace('h4');
</script>
<script type="text/javascript">
Cufon.replace('h1');
Cufon.replace('h2 a');
Cufon.replace('h3');
Cufon.replace('h4');
Cufon.replace('.headtext');
</script>
Cheers,
Max.
Hi Max,
I followed your above instructions, however, these steps removed all three H1 headings. Is there a way to have heading in the first slider classified as H1? This will help with SEO.
Thank you.
Jim
Hi Jim,
yes, this is possible, use this code:
<div id="slides">
<div class="slide-wrapper">
<div class="app_text">
<h1><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_title')) ?></h1>
<p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box1_text')) ?></p>
</div>
</div>
<div class="slide-wrapper">
<div class="app_text">
<div class="headtext"><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_title')) ?></div>
<p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box2_text')) ?></p>
</div> </div>
<div class="slide-wrapper">
<div class="app_text">
<div class="headtext"><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_title')) ?></div>
<p><?php echo tfuse_qtranslate(get_option(PREFIX.'_slider_box3_text')) ?></p>
</div>
</div>
</div>
Chances are your issue is already answered, but if it’s not, you can always create a new topic.
Add new topicSearching for something specific? Type something and press Enter to search.
Add Reply
You must log in to post.