Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Changing CSS Color Code in Optimizepress to.... (https://www.warriorforum.com/programming/416369-changing-css-color-code-optimizepress.html)

iSoftware 17th July 2011 01:31 PM

Changing CSS Color Code in Optimizepress to....
 
Hi,
I would like to know how I can change the background color of posts/pages in an optimize press install to match that off the Warrior forum - I believe the color CSS code: F5F5F5

KabanaSoft 17th July 2011 04:27 PM

Re: Changing CSS Color Code in Optimizepress to....
 
You can change the CSS file manually...but you'll need to know what css class to change..

I'd get the firebug addon for firefox...use the inspector tool and hover over which element you want to change...then you will see its CSS class name and any css property styles applied to it in the right panel...

Then open up the CSS file, search for that class name, and change the background property:

.classname { background:#F5F5F5; }

That should do the trick. Look in the /themes/<theme name> folder if your having trouble finding the right css file to edit, usually named style.css.

Harrison_Uhl 21st July 2011 10:03 AM

Re: Changing CSS Color Code in Optimizepress to....
 
Firebug works great. There is (was) also a color sampler plugin for Firefox (mine got lost with the last FireFox upgrade.) All you had to do was right click in the browser window, then click on the eyedropper. Then you could use the eyedropper to get the hex color codes for various spots in the browser window.

Harrison

KabanaSoft 21st July 2011 11:39 PM

Re: Changing CSS Color Code in Optimizepress to....
 
Quote:

Originally Posted by Harrison_Uhl (Post 4308485)
Firebug works great. There is (was) also a color sampler plugin for Firefox (mine got lost with the last FireFox upgrade.) All you had to do was right click in the browser window, then click on the eyedropper. Then you could use the eyedropper to get the hex color codes for various spots in the browser window.

Harrison

I believe you are referring to Colorzilla...i use it all the time and love it. Highly suggested for quick color finding, don't even have to look at the CSS file.


All times are GMT -6. The time now is 10:19 AM.