+ Reply to Thread
Results 1 to 6 of 6

Thread: Space Under the "More" Button

  1. #1
    Premium Silver
    Join Date
    Apr 2012
    Posts
    14

    Space Under the "More" Button

    Hi,

    I love the theme but I notice that if the first paragraph of a post is too long, the space under the "More" button disappears. If the post has a really long first page, the entire more button disappears. Can this be fixed somehow?

    Thanks,

    Tony

  2. #2
    Premium Silver
    Join Date
    Apr 2012
    Posts
    14
    Hello? Paying member here... :^)

  3. #3
    Premium Silver
    Join Date
    Apr 2012
    Posts
    5
    I have a similar question...
    Is there a CSS we can add to slider.php to make a long text fit inside the "Featured" text area ?
    Is there a way to exclude the "More" button ?
    Cheers.

  4. #4
    Administrator
    Join Date
    Oct 2011
    Posts
    1,478
    Hey,

    Sorry for the delay in replying back.

    What's your website URL?

    You can manipulate the number of characters globally inside the slider description

    Inside slider.php edit the 200 into lower number:
    Code:
    '<p>' . substr(get_the_excerpt(),0,200) . '</p>';
    You can remove the more button from the slider inside slider.php remove this code:

    Code:
    echo '     <a class="more" rel="nofollow" href="' . get_permalink() . '">' . __( 'Read More', 'mframe' ) . '</a>';
    I'm the Admin here to help you out, Every time you post something make sure to include your website URL!

  5. #5
    Premium Silver
    Join Date
    Apr 2012
    Posts
    14
    Thanks... I just don't want the "More" button pushed off the screen. My website is http://www.notfatnow.com.

    If I set

    substr(get_the_excerpt(),0,200)

    to say:

    substr(get_the_excerpt(),0,100)

    There may still be a problem with the length of the headline... is there a way to limit the length of the headline as well?


    Thanks,

    Tony


  6. #6
    Administrator
    Join Date
    Oct 2011
    Posts
    1,478
    Yes, in the same file slider.php do the same to:

    Code:
    ' . substr(get_the_title(),0,40) . '
    I'm the Admin here to help you out, Every time you post something make sure to include your website URL!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts