Closed (fixed)
Project:
Multiflex37
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2007 at 03:26 UTC
Updated:
28 May 2008 at 21:43 UTC
Which files to edit and exactly what lines need to be changed. I can see the different colours in the CSS files but I just can't quite line it all up to make it work.
Comments
Comment #1
vm commentedusing the firefox browser, and the web developer addon for fire fox will greatly enhance your ability to manipulate the .css files and show you which css classes are being called for each block.
Comment #2
Compactman commentedThat's not exactly what I was looking for. I can see the CSS fine. I just don't know what to change in the block code to make the colour change. I have the information, I just don't know what to do with it lol.
Thank you for the quick reply!
Comment #3
cdoyle commentedI'm not exactly sure what you're asking, but I'll see if I can point you in the right direction. Correct me if I'm wrong, but this sort of seems like a generic how to teme/css style question. I think you're saying you want to change the default colors for the theme, right?
The files you want to start looking at are in the css subdirectory. All the basic colors are going to be in the css/layout4_text.css and layout4_setup.css. You need to find the css that applies to the element you're trying to edit in those files. I use the firebug plugin for firefox and find it very helpful. It lets you right click on an element in a page and "inspect element" it to find out what css is applied to it. For instance, you'll find that the site background color is set to #FFFFFF in the body tag around line 20 of the layout4_setup.css file. Another technique is to get a color picker (I think there's a plugin for firefox) to let you figure out the color value you want to change. You can then search the files for that value.
As for implementation, I would recommend not changing the value in the layout4* files but overriding the color in the site.css file (to maintain upgradability).
Comment #4
Muskwa commentedHi,
could I ask - how can I override that? I can find it in the layout4* css but I don't know what I have to write to the site.css file? and where should I write it to (in the file)?
Thanks
Comment #5
waynedrupal commentedFor the Left Side block (Navigation) change:
In /themes/multiflex37/css/layout4_text.css
Line 52 -
.main-navigation h1.firstbackground-color: #bebebe;Change to the color you wantFor the rest of Left Side block change:
In /themes/multiflex37/css/layout4_text.css
Line 53 -
.main-navigation h1background-color: #bebebe;Change to the color you wantFor Right Side block change:
In /themes/multiflex37/css/layout4_text.css
Line 106 -
.main-subcontent h1background-color: #bebebe;Change to the color you wantI am not sure what code to change in css for the body color of the block, just the heading color. If anyone knows what line to change for that color, I would appreciate the tip.
Comment #6
Minna commentedFor the Left Side block (Navigation side bar) change:
In /themes/multiflex37/css/layout4_text.css
.main-navigation background-color: #bebebe;Change the colorFor Right Side block background change:
In /themes/multiflex37/css/layout4_setup.css
.subcontent-unit-border {background-color: #ebebeb;}change the colorBy the way, I added the above changes to /themes/multiflex37/css/site.css instead of changing in the original css files.
Minna
Comment #7
cazam commentedWhat about for content blocks? Any idea how to change the Title text colour for twilight theme?
Comment #8
vm commenteduse the firefox browser with the firebug addon to isolate css declarations and make changes on the fly.