Slider text

knut myrvang's picture

Slider text

By knut myrvang on Tue, 01/06/2015 - 20:15

Hello.

How can i remove text in two of sliders in Hertz theme?

admin's picture

Submitted by admin on Wed, 01/07/2015 - 02:46

These features are actually available in HertzPro theme.
http://drupar.com/theme/hertzpro

In Hertz theme you will have to edit few codes manually.
For completely removing text from all three sliders:
1) Open templates/page--front.tpl.php in any text editor.

2) Find and delete following codes:

<div class="slider-title">
<div class="slidertitle"><?php echo theme_get_setting('slider_one_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_two_title'); ?></div>
<div class="slidertitle"><?php echo theme_get_setting('slider_three_title'); ?></div>
</div>
<div class="slider-text">
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_one_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_two_desc'); ?></div>
<div class="slidertext" style="display: none;"><?php echo theme_get_setting('slider_three_desc'); ?></div>
</div>

Save the file. Done!!!
If you want to remove text from any specific slide, carefully delete line for that slide only.

knut myrvang's picture

Submitted by knut myrvang on Thu, 01/08/2015 - 09:43

Thx:-)