Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By thou92 on
Hello :)
i just successfully installed the glossary view which is working good and do what i want ! :)
my issue is about the link in the glossary which are in blue, i don t know why it's blue nothing in my theme is blue :(
how can i change that ?
thank you :)
Comments
Hack through CSS
Just try to add CSS class on the wrapper of Glossary link and change the color through CSS.
Best Regards,
Sanjay
skype:er.sanjaysoni
thank you for your answer!
thank you for your answer!
unfortunatly i am not use to create css file :/
i am able to modify when they ar already created but create one it's a litle bite to difficult for me for the moment :(
Don't need to create css file!
You don't need to create CSS file separately. please use existing CSS file that is included in header.
Best Regards,
Sanjay
skype:er.sanjaysoni
solution found :)
solution found :)
in fact it was a user agent stylesheet
so i just add a the end of my CSS file and it's work good :)
a:-webkit-any-link {
color: WHAT I WANT ;
text-decoration: underline;
cursor: auto;
Don't hack core. If you are
Don't hack core. If you are doing some changes in drupal core theme, even in css file, these changes will get vanish as soon as you update your drupal core.
Better will be to create a sub theme and use that.
https://www.drupal.org/node/225125
Let's Drupal
i know that you are right but
i know that you are right but i am not an advanced user :( i dont know how to do this
the change i made is only working on chrome and not in IE and firefox :( do you know why ?
It might be a cache issue.
It might be a cache issue. Clear your browser and site cache.
Let's Drupal
Webkit is for Chrome and Safari
"WebKit is a layout engine software component for rendering web pages in web browsers. It powers Apple's Safari web browser, and a fork of the project is used by Google's Chrome web browser."
As I don't have much context I don't know even your are hacking Drupal core, theme or any module like Views Glossary that you should not.
What I know that You have to add your custom CSS class(to any parent to that link) and that should be manage through your own css.
Like this :
.YOURClass a{
color: WHAT I WANT ;
text-decoration: underline;
cursor: auto;
After this you might need to clear Drupal cache and Browser cache.
Best Regards,
Sanjay
skype:er.sanjaysoni