badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

NewsCard – AD Banner target (frontpage)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #76958
    anesioneto
    Participant

    Hi,

    I´m using the free version of Newscard, for now. Thanks for that, it’s a great theme!
    About my doubt: is there a possibility to open the target link of the banner at the self page? I know it’s a simple change of blank to self but I’m not familiar with the CSS change…

    Kind regards,
    Anesio Neto

    #76974

    Hi @anesioneto,

    Yes it’s about the Target Self and Blank but it is not handled through CSS. You have to make changes on Html Code of the theme.
    So to make the target “self” instead of “blank” please go to the header.php file of the theme and go to line no: 92. There you will fine the code as:

    <a href="<?php echo esc_url( $newscard_settings['newscard_header_add_link'] ); ?>" class="newscard-ad-728-90" target="_blank">

    Please replace the ‘_blank’ to ‘_self’ on it.
    We recommended you to edit those code by creating a child theme so that your code won’t be lost while updating the theme to the new version.

    Thanks

    #77076
    anesioneto
    Participant

    Thanks! Works perfectly!

    #77090

    Welcome anytime @anesioneto

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.