Support » Fixing WordPress » Removing a div from the theme

  • Hi Everyone,

    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 ]

    <div class="h-line"><hr /></div>
                        <div class="quote">
                          $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>";?>

    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!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can also see it when I open the HTML from Firebug but again, I cannot remove it from here either!!!

    YOu wouldn’t remove the code from within Firebug. Firebug is simply for exploring code, and testing changes… it does not make any permanent changes

    Have you deleted that above code from the actual theme, on your active site?

    You would do that through the theme editor, or using FTP

    Hi Rev. Voodoo!
    Thanks for getting back to me.

    Ok, so now I know why I couldnt edit in Firebug!

    I removed the text from the editor in Worpdress AND using Dreamweaver at my end, reuploading to the ftp server when it was edited.

    I can see in Firebug, it shows that the code is in “reset.css” but I cannot locate this or the html file to delete the div.quote tag.

    Really lost here!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing a div from the theme’ is closed to new replies.