Copyblogger - How to hide header text and description? (4 posts)

  1. grazia15
    Posted 8 years ago #

    Hi guys.

    I am using the Copyblogger theme, but I just can't hide the header text and description (or just don't know how to). I have placed an image on the header, and just want the text to disappear... Some people told me that its better to use "text-indent: -1000px" instead of the display:none.. Where do I place that on the Copyblogger theme?

    Thanks in advance.

  2. moshu
    Posted 8 years ago #

    In any theme you do that in the stylesheet; in the proper style declaration.


  3. grazia15
    Posted 8 years ago #

    Hmmm.. Anyone that has used Copyblogger knows where to place the "text-indent: -1000px" thingy? I tried a couple of different locations where it said H1 but i didn't manage to get it right...


  4. marjiec
    Posted 8 years ago #

    I don't know copyblogger, hopes this helps.
    You don't have a .desc tag for your description you will need one.
    Put this in your CSS file
    .off {text-indent: -9999px;}
    .desc {text-align: right;}

    Change your header.php to this.

    <div id="logo">
    <h1><a href="http://www.baleiabranca.com" title="BaleiaBranca.com"><span class="off">BaleiaBranca.com</span></a></h1>
    	<div class="desc">Todo o besteirol encontrado pela internet é traduzido e colocado aqui!	</div><!--End of description -->
    		</div><!--End of logo -->

    Now you can position your description with margin and or padding.

Topic Closed

This topic has been closed to new replies.

About this Topic