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*

Change language post tabs

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #76000
    venepress.web
    Participant

    hello, how could translate the tex in “popular”, “recent”, and “commented”.
    in the widget # TH:posts tabs

    Espanol:
    popular = Populares
    Recent = Recientes
    Commented = Comentados

    #76079

    Hi there,

    Just go to wp-content/themes/newscard-pro/inc/newscard-widgets.php and go to line no: 931, 933 and 937 there you can see the ‘Popular’, Recent’ and ‘Commented’ text as <?php esc_html_e('Popular','newscard');?> just replace the text ‘Popular’ as your need and change other two as same.
    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.

    Thank you!

    #76128
    venepress.web
    Participant

    Thx, can i change the colors of those buttons
    both “on” and “off” and the color of the text.

    #76143

    please got to ‘Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.

    .site-content .newscard-widget-recent-posts .nav-link {
    	color: black;
    }
    .site-content .newscard-widget-recent-posts .nav-link:hover,
    .site-content .newscard-widget-recent-posts .nav-link.active {
    	color: blue;
    }

    Please change the above color to your desired one. For the above code ‘Black’ is used for inactive state and ‘Blue’ is used for active and hover state. If you know the Color Name then you can use the Color Name or you can use the hex color like #000000, #2e5f97 etc.

    #76147
    venepress.web
    Participant

    THX!
    And for change the button color
    same on and off.

    #76164

    Do you mean same color for both?If it is then you can use the same color for both instead of different color.

    Thanks

    #76178
    venepress.web
    Participant

    Here you can see
    i whant change the button color and the color font in the two options
    active button (Light Blue)
    non-active button (blue)

    On / Off

    #76189

    Ok then you can add the background-color properties on the both above code.
    Like:-

    .site-content .newscard-widget-recent-posts .nav-link {
    	color: black;
    	background-color: red;
    }
    .site-content .newscard-widget-recent-posts .nav-link:hover,
    .site-content .newscard-widget-recent-posts .nav-link.active {
    	color: blue;
    	background-color: green;
    }

    Thanks

    #76249
    venepress.web
    Participant

    Thx!

    #76288

    Welcome anytime @venepress-web

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