Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By rejzer on
I use Drupal 7.26 and Black Hole 7.x-1.6 theme. I would like to change the colour of the site name and slogan as they appear in the top left corner of the page. Is there an easy way to do that?
Comments
For default bartik theme the
For default bartik theme the setting is here "admin/appearance/settings/bartik".
You can visit the provided admin link and check if your theme gives this functionality. Else you need do CSS changes, but I guess "admin/appearance/settings" , going to this link will help you to customize this in easy way.
Regards,
Thanks & Regards,
Ajay Singh
Bartik has the interface to change colours, Black Hole does not
Thanks!
Bartik has the colour options, indeed. Black Hole does not :(
It seams Black Hole has a special 'custom-style.css' in the '_custom' folder for the customisation of the css. Any idea which entry refers to the slogan/title colour ?
You need to check that with
You need to check that with firebug, and then you can apply the class your custom css.
Thanks & Regards,
Ajay Singh
changing the slogan and site name colour in Black Hole theme
It turned out to be quite simple.
Just added
#site-name a {
color: #FFFFFF;
}
#site-slogan {
color: #FFFFFF;
}
into 'sites/all/themes/black_hole/_custom/custom-style.css' and changed the colours to white. It works fine.
Thank you Ajay for help!
Welcome friend :)
Welcome friend :)
Thanks & Regards,
Ajay Singh