Tagged: post tabs text color change
- This topic has 9 replies, 3 voices, and was last updated 4 years ago by Theme Horse Support Team.
-
AuthorPosts
-
March 19, 2020 at 10:09 pm #76000venepress.webParticipant
hello, how could translate the tex in “popular”, “recent”, and “commented”.
in the widget # TH:posts tabsEspanol:
popular = Populares
Recent = Recientes
Commented = ComentadosMarch 22, 2020 at 4:14 pm #76079Theme Horse Support TeamKeymasterHi 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!
March 24, 2020 at 9:49 pm #76128venepress.webParticipantThx, can i change the colors of those buttons
both “on” and “off” and the color of the text.March 25, 2020 at 3:14 pm #76143Theme Horse Support TeamKeymasterplease 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.
March 25, 2020 at 7:29 pm #76147venepress.webParticipantTHX!
And for change the button color
same on and off.March 26, 2020 at 11:09 am #76164Theme Horse Support TeamKeymasterDo you mean same color for both?If it is then you can use the same color for both instead of different color.
Thanks
March 26, 2020 at 10:03 pm #76178venepress.webParticipantHere 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)March 27, 2020 at 10:47 am #76189Theme Horse Support TeamKeymasterOk 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
March 30, 2020 at 5:26 am #76249venepress.webParticipantThx!
March 31, 2020 at 8:01 am #76288Theme Horse Support TeamKeymasterWelcome anytime @venepress-web
-
AuthorPosts
- You must be logged in to reply to this topic.