• Resolved agreda

    (@agreda)


    Great theme, thanks!

    I thought I saw a setting to change the display text for the “Continue Reading” button for posts in the Hero section. Now I can’t find that anywhere in the Customizer!

    Is there any way to change the button text from default “Continue Reading” that displays in the Hero section for recent posts? If so, where is that setting? Or is a template edit?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Branko

    (@brankoconjic)

    Hi @agreda,

    You can only enable/disable the read more button from Appearance ? Customize ? Hero (Style ? Post Elements).

    In order to change the button text, you’d have to modify hero template file in your Child theme.

    The template file is located in sinatra ? template-parts ? hero ? hero-hover-slider.php.

    You need to copy that file and folder hierarchy to your Sinatra Child theme, like this:

    sinatra-child-master ? template-parts ? hero ? hero-hover-slider.php.

    Then, you can edit the file and change the text located on the line #90:
    <a href="<?php the_permalink(); ?>" class="read-more si-btn btn-small btn-outline btn-uppercase" role="button"><span><?php esc_html_e( 'Continue Reading', 'sinatra' ); ?></span></a>

    You can download base Sinatra Child theme from here:
    https://github.com/zlateska/sinatra-child/archive/master.zip

    • This reply was modified 3 years, 9 months ago by Branko.
    Thread Starter agreda

    (@agreda)

    @brankoconjic I figured that might be the case, and found the right template file.

    Thanks for the Child Theme link!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Button Text in Hero Section’ is closed to new replies.