- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
chaeta
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi Daniel,
First of all I really like your work and love the minimatica theme.
I am just learning now WP coding but I still have so much to understand!!
I have set an image as background from appearance-theme-background and I think it works fine for a section of my site, but I would love plain white background for another part of it.I have tried to tweak the stylesheet with things like:
.post-id-95 body{ background-color: #FFF; }
or creating a page template White and adding on .css
body#white { background-color: #FFF; }and few other thing which I found on the net but without success.
Is there a way to overwrite the background image I have set on WP dashboard for some pages of the site?Many thanks
Caterina
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236jack2104
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi.
I had this problem.
On the page you want to change the bkgrnd for – right click and inspect element (or the same action dependent on you browser) – and in the header find the page id.
Then use this code:
body {
background:#FFF;
color:#000;
font-family:”Vegur”, sans-serif;
font-size:16px;
line-height:18px;}
.PAGE ID { //is the page id css class
background:Then enter you background style stuff like width etc.
}so for example mine is:
body {
background:#FFF;
color:#000;
font-family:”Vegur”, sans-serif;
font-size:16px;
line-height:18px;}
.home.blog.custom-background {
background: #000000 url(‘http://jackhatesyouall.com/wordpress/wp-content/themes/minimatica/images/background.png’);
background-repeat:no-repeat;
background-position:top center;
background-attachment: fixed;
width: 100%;
height:100%;
}Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236chaeta
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220It worked:)
Thanks so much!
Tagged: background
You must be logged in to reply to this topic.