Tagged: chrome, colour, CSS, custom.css, hyperlinks, safari
Hi,
For some reason, my forced hyperlink colour (in custom css) is not working across all browsers, also it seems to not work on a few links on Chrome.
(chrome = ok with some issues)
(safari = not working at all)
the code I am using is this:
a {
color: rgb(63, 61, 66);
}
a:visited {
color: rgb(63, 61, 66);
}
a:hover {
text-decoration: none;
color: rgb(63, 61, 66);
Please help me sort this issue out.
Warm regards,
A
Hi!
I’m not seeing those codes in the dynamic stylesheet, where exactly did you put it? also, do you have any caching plugin activated?
Cheers!
Josue
Hi Josue,
I an using another custom css plugin, not the one that comes with the theme. (Long story)
But I have sorted everything out. I just changed the colours directly on the stylesheet and it seems to be working out okay.
While I’m talking to you though, I need to hide all the mouseover image alt tags. could you help me with this?
I would preferably not edit the functions.php file (syntax errors are a nightmare) and don’t want to have to hide each one individually.
Any help would be greatly appreciated,
A
The only way to do that would be with some custom JavaScript, try adding this at the very end of your theme / child theme functions.php file:
function add_custom_script(){
?>
<script>
(function($){
$(window).load(function() {
$('img').removeAttr('alt').removeAttr('title');
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
You can use this plugin if you don’t want to edit functions.php directly.
Regards,
Josue
Works perfectly! Thank you!