Comment on WordPress Header Images by SEO Dave.

WordPress Custom Header Options Although the WordPress “Appearance” >> “Background” options page (WordPress core feature BTW) is active in Stallion the “Background Color” option is overwrote by the Stallion background gradients CSS code. So the inline CSS is loaded, but because there’s the gradient CSS code it doesn’t show.

I’m using the “Appearance” >> “Background” options page for the background image upload, if I could easily disable the “Background Color” option I would, but it’s WordPress core code so not easy to remove.

If you did want to use the “Background Color” feature you’d edit the Stallion CSS file you are using and remove 4 lines of CSS, in style-delicate.css for example it’s lines 8 to 11

background: -moz-linear-gradient(#EDEEEF, #EDEEEF);
background: -o-linear-gradient(#EDEEEF, #EDEEEF);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EDEEEF), to(#EDEEEF));
background: -webkit-linear-gradient(#EDEEEF, #EDEEEF);

Best way to do this so you don’t loose customisations if you want this control is make a copy of the CSS file like style-delicate.css and name it style-custom-01.css and remove those lines of CSS, copy over the images from the folder /stallion-seo-theme/images/delicate/ to /stallion-seo-theme/images/custom-01/ and select “Custom 01” under “Stallion >> Colour Options : Stallion Theme Colour”.

I don’t like adding too much inline CSS which is why there’s currently no way to select your own colours in Stallion, to have the ability to say change 20 colours means adding at least 20 lines of inline css. Each css file includes over 50 lines of colours, so to have the ability to control them all would mean 50+ lines of code adding inline! And this would only change the colours, not font sizes of font types.


BTW Got your email about your comment going to SPAM, my comment (this one) and the last comment I made here also went straight to SPAM (added this BTW just before approving my own comment after UNSPAMMING it)! So on my own bloody site my comments are going to SPAM!!! Also all the recent comments (at least 7 now) Akismet has SPAMMED. Looks like either Akismet is playing up or my site is. Will have to check my other sites Akismet SPAM folders, that’s a lot of false positives even for the make money online type niche.