Button in featured boxes

  • Author
    Posts
  • #157531

    Hi,

    I’ve been trying to add a ‘read more’ button at the bottom of the three featured boxes on the start page, but I can’t figure it out.
    I’m able to add the bottom on the actual page featured, but that button won’t show on the start page. Can you please help?

    Best regards,
    Stephanie

    The blog I need help with is: (visible only to logged in users)

    #157558
    itsdavidmorgan
    Theme Author

    Hi Stephanie,

    Thanks for reaching out. It seems the Restaurant Theme is no longer active on your site. Are you using the theme on a different site?

    Thanks!

    #157600
    gefamiljestod
    Member
    Original poster

    I tried out another theme to see if it would be easier to adjust to my needs, but now I have swiched back again :)

    #157601
    gefamiljestod
    Member
    Original poster

    Hi again! I also wonder how I make the featured image on a page not show in the featured boxes on front page?

    #157615
    itsdavidmorgan
    Theme Author

    Hi Stephanie,

    Great work customizing the theme!

    By default, the Restaurant Theme doesn’t display a “Read More” button for the featured pages on the home page. However, you can workaround this by adding a custom excerpt with some basic HTML to the page.

    Within the page editor, locate the “Excerpt” field on the right. Enter your desired text, and then enter the following HTML after your text:

    <a class="more-link" href="https://mysite.com">Read More</a>

    Replace the link with a link to whatever page you would like to link to.

    As a result, your excerpt text will then display with a “Read More” button beneath it.

    Regarding the featured images on the home page, it seems you got this resolved. Is that correct?

    Thanks!

    #157620
    gefamiljestod
    Member
    Original poster

    Thanks for your help, the button work perfectly :)
    Regarding the featured image I’ve added it to one of the pages now, and as you can see it shows in the featured box on front page as well.

    #157621
    jeffmilone
    Theme Author

    Sounds great. Thanks for letting us know!

    Cheers!

    #157641
    gefamiljestod
    Member
    Original poster

    How I make the featured image on a page not show in the featured boxes on front page? :)

    #157671
    itsdavidmorgan
    Theme Author

    Hi Stephanie,

    Try adding the following style within the Additional CSS section of the Customizer:

    .featured-pages .home-featured-banner {
      display: none;
    }

    This will hide the featured image on the home page. However, it will also hide the page title. So, if you want to display the page title, you will need to add it within the excerpt field as described above:

    <h3>My Page Title</h3>

    I hope this helps. Thanks!

    #157702
    gefamiljestod
    Member
    Original poster

    Thanks a lot for your help, that worked :)

    #157708
    itsdavidmorgan
    Theme Author

    Great! No problem. :)

  • The topic ‘Button in featured boxes’ is closed to new replies.