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 CalonDdraig on
Reposted as I think this is a better place to ask...
Hello All,
Just a quick question... where and how can I change the colour scheme of my Drupal forum... I've tried changing the tags in the main theme configuration that have "forum" in their name, but they're not having any effect...
Could some kind soul point me in the direction of which tags to change for a certain parts of the forum scheme?
Thanks,.
Calon
Comments
firefox is a usefull tool....
If you use firefox webbrowser with the webdeveloper extension... its a simple matter of selecting: view style information from the toolbar and the cursor will change to a cross hair... then hover over the element you want
to change and click the left mouse button... a new page will open up with the relevant css code that applies to that element. Then you can style that element by looking for that section of code in your style.css file for your theme.
You can also look for the forum section in drupal.css, copy that section to your style.css file and modify it.
but note that if you change something it could change all occurances of that element on your website, in such a cas preceed the element with: #forum
example:
a:link
{
color: rgb(27, 76, 162);
text-decoration: none;
}
a:hover, a:active
{
color: rgb(27, 76, 162);
text-decoration: underline;
}
will control all occurances of these elements on you site, but if you do it like this:
#forum a:link, a:active, a:visited
{
color: rgb(117, 121, 120);
}
#forum a:hover
{
text-decoration: underline;
color: rgb(117, 121, 120);
}
it will only apply the changes on forum pages.
you can do alot with css if you play with it, including using background images in the headers and containers if you wish.
If you want to do some advanced stuff, like I have done (see: www.newfoundnews.com)
let me know.
Craig.
style.css
Check out your style.css, and you may want to check out the firefox web developer toolbar plug-in just to speed you along (there are a lot of functions to help identify what the different elements of your page/theme are).
=====
Bloggyland.com
Hosting for pre-tuned/pre-configured Drupal installations
Instantly activated site with many extra modules
Drupal specific support, SSH/FTP/cPanel
Thanks for that, I'll have a
Thanks for that, I'll have a fiddle with it tomorrow...
So far I've not been able to make firefox pop up a new window with the relevent css tag in it, but I'll have a look at it, in depth tomorrow.
Thanks for all the help and advice I've recieved from this forum - if only all support forums were as supportive - respects for that.
calon
Just to be clear...
The firefox web developer toolbar is something you'll have to download. (meaning it doesn't come with firefox)
Google it and you'll have no problems finding I'm sure...
=====
Bloggyland.com
Hosting for pre-tuned/pre-configured Drupal installations
Instantly activated site with many extra modules
Drupal specific support, SSH/FTP/cPanel