How to limit description text?


  • Robbie
    Newbie 8 points
    August 4, 2016 at 7:50 pm

    Hey guys,

    I was wondering how I can line up the ‘add to cart’ buttons by capping the description text? My items have all been automatically imported from Amazon so the description text varies in length.

    Cheers

    Attachments:
    You must be logged in to view attached files.
  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    August 5, 2016 at 4:39 am

    sure, you can use CSS to set a max height.

    whats your link?


  • Robbie
    Newbie 8 points
    August 5, 2016 at 10:40 am

    This is my home page. I have very little coding skills by the way!

    I would also like to get rid of the “Search Website” button on the central image.

    https://www.toptapestries.com/

  • Jean-Francois
    Jean-Francois
    Newbie 53 points
    August 5, 2016 at 12:33 pm

    Hi,

    To hide “Search Website”
    Add this to your styles.php inside your child theme

    
    .home .jumbotron .inner .btn.btn-lg.btn-primary {
      display: none;
    }
    
    This reply was awarded the best answer by the topic poster.

  • Robbie
    Newbie 8 points
    August 5, 2016 at 12:42 pm

    Thanks Jean, worked perfectly. I know nothing about CSS but it worked!


  • Robbie
    Newbie 8 points
    August 5, 2016 at 12:49 pm

    What and where would I put the max height code? The featured items at the bottom of the page are totally wonky because the title descriptions are too long.

    Thanks for the help!


  • Josh
    Super Guru 13,875 points
    August 5, 2016 at 2:31 pm

    Hello Robbie,
    Please go to Appearance >Editor >content-listing-shop.php and change [EXCERPT] to [EXCERPT size=50]

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

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes