Tagged: x
-
AuthorPosts
-
June 21, 2016 at 2:06 pm #1053038
khzidanParticipantHi amazing people.
I am doing branding for my blog now. I want CSS code to change the hyperlink color ONLY for my whole blog.
Such code should not affect the color of any other type of link color such as button, FAQ or any other shortcode. ONLY the links that created by normal hyperlink.
this should override any other CSS or style, so even if i change the hyperink color in a post, your code should override it, to make sure all hyperlink for the whole website is the same.
cheers,
KhalidJune 21, 2016 at 2:24 pm #1053059
JoaoModeratorHi There,
You could try adding on Appereance Customizer Custom CSS
.blog a { color: red; } .blog a:hover { color: blue; }Let us know how it goes.
Joao
June 21, 2016 at 5:18 pm #1053300
khzidanParticipantnop, I still see many hyperlink in black! means no change!
June 21, 2016 at 5:36 pm #1053322
NicoModeratorHi There,
Thanks for the update.
Would you mind sharing us the URL you want to customize.
Thanks.
June 22, 2016 at 1:43 pm #1054850
khzidanParticipantThis reply has been marked as private.June 22, 2016 at 2:14 pm #1054915
JoaoModeratorHi There,
Upon checking your website all your hyperlinks are set to #2194a5
Would mind providing a screenshot of what you would like to change and more details if possible.
Thanks
Joao
June 22, 2016 at 5:30 pm #1055203
khzidanParticipantpls see attached screenshot.
June 22, 2016 at 10:05 pm #1055652
John EzraMemberHi there,
Thanks for updating the thread! Your image was too big and it did not attach. You can upload it somewhere and provide a link here or reduce it’s size.
Please do update us – thanks!
June 23, 2016 at 5:03 pm #1057070June 23, 2016 at 10:49 pm #1057524
DarshanaModeratorHi there,
Simply assign a unique class to that hyperlinks. For example
class="my-custom-links"and remove inline style attributestyle="color: #000000;"<a class="my-custom-links" rel="nofollow" target="_blank" href="http://successentrepreneur.aweber.com">Aweber</a>Then you can add your custom CSS into the Customizer, Custom > CSS area.
.my-custom-links { color: red; } .my-custom-links:hover { color: blue; }Hope that helps.
June 26, 2016 at 7:04 pm #1060530
khzidanParticipantcome on guys! I want to assign the same for every hyperlink to the whole website not just one or two.
I need a solution that all hyperlinks will be the same color no matter what happened.
pls help
June 26, 2016 at 9:39 pm #1060754
John EzraMemberHi there,
Thanks for updating the thread! Have you tired setting the colors under site links in the customizer?
Appearance > Customize > Typography > Site Links
Change the colors here and the links and accent colors will change globally.
Hope this helps – thanks!
June 27, 2016 at 2:29 am #1061033
khzidanParticipantyup it is already set but does not work, I have given you access to wordpress admin too.
June 27, 2016 at 2:48 am #1061064
Paul RModeratorHi,
You can add this in Appearance > Customize > Custom > Edit Global CSS
body a { color:red !important; } body a:hover { color:blue !important; }Change red and blue with the color that you like.
Hope that helps.
June 27, 2016 at 2:57 am #1061074
RupokMemberHi there,
You said you need to apply this for Blog page only and the tailored code was provided by Joao (#1053059) that’s correct. But you don’t have any Blog page or I can’t find this on your site. Kindly provide the exact URL of your blog page or any other page where you want this.
Hope this makes sense.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1053038 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
