• Resolved pitz37

    (@pitz37)


    Hi folks, I know this is basic stuff but how do you add another “see more” button to the home page main image? I edited hestia-big-title-section.php in inc/sections and all sorts went wrong. Any help would be great.

    • This topic was modified 8 years, 5 months ago by pitz37.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pitz37

    (@pitz37)

    I’d like 2 different buttons next to each other rather than above/below.

    Hi There,

    hestia-big-title-section.php seems to be the correct file for editing the button.

    The relevant code for the button is as follows:
    <a href="<?php echo esc_url( $content['button_link'] ); ?>" title="<?php echo esc_html( $content['button_text'] ); ?>" class="btn btn-primary btn-lg" <?php echo hestia_is_external_url( $content['button_link'] ); ?>><?php echo esc_html( $content['button_text'] ); ?></a>

    Maybe checking the changes in private/incognito mode will help. Or make sure you are not making changes when you are on customizer screen.

    There is another file “/hestia/inc/features/feature-big-title-section.php” which is having code for the button. However, I don’t think it is effecting there.

    Though the code in the file is:
    $output = '<a href="' . $button_link . '" title="' . $button_text . '" class="btn btn-primary btn-lg">' . $button_text . '</a>';

    If it is still not working, you may contact theme support here – https://themeisle.com/contact/.

    Hope this helps.

    I am also willing to add a second button in my home page big title section. Do u know how I can do it?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Home buttons’ is closed to new replies.