WordPress.org

Ready to get started?Download WordPress

Forums

Estate
Have main Banner Button in header open link in a new tab? (2 posts)

  1. jayyearley
    Member
    Posted 11 months ago #

    Hello there-

    Great theme! I really like the style, and how it draws a focus to a main "call-to-action" button in the top center.

    Just had a quick question about the big Banner Button. I wonder if there's a simple way (through the dashboard, hopefully) to quickly edit the button so that it opens in a new browser tab. (you know.. so it doesn't just open a new website on top of the same window of the wordpress site you're on)

    In the past, I have accomplished similar tasks by including a jQuery plugin... But first, just wondering if there's a simpler way anyone knows of.

    And also, if there isn't an "easy" fix, then where should I look in the theme code to edit what happens with the Banner Button code. Is it part of the Header.php, (masthead), index.php, content.php, etc. Any help narrowing down where to look is appreciated! Thanks so much.

  2. jayyearley
    Member
    Posted 11 months ago #

    Never mind.. I've found a solution to this (without javascript or jQuery for now). Maybe not the best, most solid way of doing it, but works nonetheless.

    In slider.php.. change:
    class="action-button">
    To:
    class="action-button" target="_blank">

    Cheers.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.