Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #3261

    How to remove READ MORE button in the portfolio Items ?

    Any help?

    Thanx

    #41407

    Hey,

    open up template_portfolio.php and remove following code:

    echo "<a href='".get_permalink()."' class='more-link'>".__('Read more','habitat')."</a>";

    #41408

    Hi there,

    What about removing the same “Read more” button from the Posts items?

    Any idea of where and what line to remove?

    Thanks a lot!

    Regards,

    Shay

    #41409

    Hey,

    Based on your website link I assume you’re using cleancut. Open up template_blog.php and replace following code:

    the_content(__('Read more »','cleancut')); ?>

    with:

    the_content(); ?>

    #41410

    How do you remove the read more button on the 3 display boxes on the homepage? I almost lost my site in my first attempt. Thanks in advance,

    #41411

    Hey,

    In index.php, find and change this code:

    the_content('<span>'.__('Read more','habitat').'</span>');

    to this:

    the_excerpt();

    Habitat doesn’t have 3 display boxes – if you’re using another theme please open a new topic under that category.

    James

    #41412

    I would like to have the “read more…”-link at the end of the particular content, as a text link rather than as a button. Is there an easy way to do this? Thank you.

    #41413

    Hey,

    the easiest solution is to restyle the read more button – add following code to style.css:

    div .more-link{
    padding: 0px !important;
    margin: 0px !important;
    background: none transparent !important;
    color: #000 !important;
    }

    #41414

    Thanks! It remains as a button though. I’ve removed the following from style.css…

    .more-link, .more-link:hover{

    line-height: 32px;

    }

    .more-link, .more-link:hover, .button{

    width:105px;

    text-decoration: none;

    display:block;

    font-size:12px;

    font-weight:bold;

    text-align: center;

    margin-top:20px;

    }

    .more-link span{

    display:block;

    padding:0 20px 0 10px;

    }

    …thus the button decreases in size. Is there anything else I have to alter to receive a text-link?

    #41415

    Can you post a link to your page please – I’ll investigate the css.

    #41416

    http://bit.ly/i1zyrD

    I’ve removed the above mentioned changes though (as I always do if something’s not working properly). Shall I restore them first?

    #41417

    Yes – in style2.css change following code:

    .more-link, .button{
    color:#96a1a6;
    border:1px solid #d6dddf;
    background:url("../images/skin2/bg_button.png") no-repeat scroll left bottom transparent;
    text-shadow: 1px 1px 0 #fff;
    }

    to:

    .button{
    color:#96a1a6;
    border:1px solid #d6dddf;
    background:url("../images/skin2/bg_button.png") no-repeat scroll left bottom transparent;
    text-shadow: 1px 1px 0 #fff;
    }

    and remove the .more-link class from the css code you posted above and delete the .more-link span code.

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘How to remove READ MORE button’ is closed to new replies.