Hopefully someone can help me with this before I pull my own hair out.
I have the Centita theme installed on a site I am working on for a client. There is a portfolio section to this theme where on the end of each individual portfolio page a “Get A Free Quote” link appears.
I have contacted the author of the theme who instructed me to remove the following code from the portfolio-template.php
[please mark any posted code – see http://codex.wordpress.org/Forum_Welcome#Posting_Code ]
<div class="h-line"><hr /></div> <div class="quote"> <?php $getquote_title = get_option('centita_getquote_title'); $getquote_icon = get_option('centita_getquote_icon'); $getquote_text = get_option('centita_getquote_text'); $contacentita_email = get_option('centita_info_email'); ?> <img src="<?php echo $getquote_icon ? $getquote_icon : get_template_directory_uri().'/images/quote-paper.jpg';?>" alt="" class="imgleft" /> <h2><?php echo $getquote_title ? $getquote_title :"Get a free Quote";?></h2> <?php if ($getquote_text !="") echo "<p>$getquote_text</p>";?> </div>
I did this.
Nothing happened. The Get A Quote line is till there.
I have located the div.quote using Firebug but am very new to Firebug and do not know how to remove a div from there.
Can anyone please help me with this as I am not getting much support from the Author of the theme at all.
Its really frustrating!!
- The topic ‘Removing a div from the theme’ is closed to new replies.