Linen Custom Design CSS

  • Author
  • #955

    Original poster

    I’ve now upgraded to the custom design package and have made some CSS changes based on your previous advice.

    But I can’t find a way to do the following things, which I’m sure are pretty straightforward!

    How do I reduce / remove the top border or margin so my logo can run right to the top edge of the white space?

    On my front page, can I insert a line or two of text below the nav menu and above the feature slider area?

    How can I stop the ‘Home’ title being visible on my front page – but obviously keeping it visible in the menus, etc.?

    How can I remove the posted by / author name from single posts?

    How can I change the default style of block quotes – new font and size?

    Sorry, I’m sure I saw answers to some of these in the forum before … but now can’t find them!

    The blog I need help with is:


    Theme Author

    Hi there!

    1. To remove the space at the top of your website, please copy over the following CSS code into your themes style.css file:

    #header {
        padding: 0 30px 30px;

    Feel free to change the first value of ‘0’ as you see fit.

    2. Similarly, see the following CSS code as an example to edit your blockquote styling.

    blockquote { font-family: Georgia, Times, Serif; font-size: 13px; }

    3. To insert text between your main navigation and your slider, you will need to edit your themes header.php template file. Navigate to the following line of code:

    </div><!--end header-->

    Once you have located this line of code, insert your text directly above the code and be sure to wrap your text in heading tags.

    4. To remove the post author from your single post page, you will need to edit your themes single.php file. Navigate to the following line of code:

    <?php printf( __( 'by %s on', 'linen' ), get_the_author()); ?> <?php the_date(); ?>

    Replace the above line of code with this:

    <?php the_date(); ?>

    This will remove the post author and keep the date. If you would like to also remove the date, simply remove the entire line of code from you single.php page.

    5. Sorry, I’m unclear with regards to your ‘Home’ text customization. Would you mind providing me with a link to your website and describing where this title is located on your page.

    I would also recommend reading through your theme documentation .

    I hope that helps. Let us know how you go!


    Original poster

    Hi Scott,

    thanks so far. I’ve achieved 1 and 2 by following your advice.

    I guess I can’t achieve 3 and 4 as I don’t have access to the templates themselves in the version, rather than .org, do I? I thought this could be the case for inserting the text above the feature slider area, but is there no way to remove / hide author details within the stylesheet? For other themes I’ve seen code like this being provided:
    .single-post .author {

    And for 5, it’s a very simple one really. I don’t want my homepage (or could apply to other individual pages) to have a ‘Home’ heading beneath the feature slider … I just want to get straight into the main body content. My site is if you want to take a look.




    Hey there,

    You’re right – on, you don’t have access to the templates. We handle support for both versions, and I think Scott got a little confused :). But not to worry! We’ll do our best to straighten you out.

    For #4, you can remove the author AND date with a style. As far as I can tell, it’s impossible to remove only one. Try this:

    .single-post-meta { display: none; }

    For #5, you can try simply deleting the title from the Home page on the Page Edit screen. That will remove it from the content, but not from your menus.

    Let me know how that goes!


    Original poster

    Unfortunately deleting the Home title on Page Edit does seem to remove it from menus / navigation too… !


    Theme Author

    Hi there!

    1. Log into WordPress and navigate to ‘Pages → All Pages’. Remove the title ‘Home’ from your homepage.

    2. Navigate to ‘Appearance → Menus’. Under ‘Pages’, check, the box with a blank title, then, click ‘Add to Menu’.

    3. Under your blank page entitled ‘Pending’, place the text ‘Home’ in the ‘Navigation Label’ input field.

    Don’t forget to hit ‘Save Menu’ when you’re done :)

    I hope this helps. If you have any problems, let us know!

The topic ‘Linen Custom Design CSS’ is closed to new replies.