Community Forums › Forums › Archived Forums › General Discussion › Change background colour in Gallery Pro theme
Tagged: background color, css, Gallery Pro
- This topic has 6 replies, 3 voices, and was last updated 8 years ago by
Janiceaday.
-
AuthorPosts
-
January 24, 2017 at 12:22 pm #199945
sunshiner
MemberHi Folks,
Rookie question here. I have designed a site using Gallery Pro, but the client does not like the bright white background. She wants a colour to make it look "more professional." Sigh.
Obviously I'm not a pro, I can manage widgets and plugins but not usually into CSS etc. How do I change the background colour?
fogelhund.com/test
Thanks a million 🙂
Karen
January 24, 2017 at 12:25 pm #199947Victor Font
ModeratorThe background color is in a body tag at line 28 in style.css.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?January 24, 2017 at 1:16 pm #199950sunshiner
MemberHi Victor,
As I mentioned, I'm not very familiar with CSS. I tried changing the style sheet to no avail. Can you tell me where I should type in the colour? The HEX code is #D9CEB2.
Thanks again for your help.
Karen/*
Theme Name: Gallery Pro
Theme URI: http://my.studiopress.com/themes/gallery/
Description:
Author: Bloom Blog Shop
Author URI: http://www.bloomblogshop.comVersion: 1.1
Tags: black, white, serif, one-column, two-column, three-column, responsive-layout, custom-menu, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready
Template: genesis
Template Version: 2.3License: GPL-2.0+
License URI: http://www.opensource.org/licenses/gpl-license.php*/
/* HTML 5 Reset
* ========================================================================== *//* Baseline Normalize - normalize.css v3.0.1 | MIT License | git.io/normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
body { background: #FFF; }
/* Box Sizing
* ========================================================================== */html,
input[type="search"] {
box-sizing: border-box;
}*, *:before, *:after {
box-sizing: inherit;
}/* Float Clearing
* ========================================================================== */.clearfix:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
content: " ";
display: table;
}.clearfix:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
clear: both;
content: " ";
display: table;March 9, 2017 at 12:20 am #202737Janiceaday
MemberHello, Would you please tell me at what specific line does the line count begin. Are blank lines counted?
Thank you so much!March 9, 2017 at 12:23 am #202738Janiceaday
MemberHello,
I was not able to change the background color at line 29 in the CSS Editor. Did it work for you? If so, How did you do it.This is the line 29 code I changed as recommended by Mr. Font in reply to your questions.
body { background: #FFF; }
When I insert another code, it does not change the background color.
Thanks for your help. I'm hoping you have solved this one 🙂
March 9, 2017 at 12:26 am #202739Janiceaday
MemberI answered my own question and can share it here. I used the customizer CSS instead of the Editor. I copied this into the CSS (on the Customizer)
body { background: #FFF; }
and changed the color code.
The background color changed!
March 9, 2017 at 1:55 am #202741Janiceaday
MemberDoes anyone know how to suppress the POST INFO and remove the AUTHOR info at the end of each post for the posts in GALLERY PRO theme?
Here is the site in progress. Testimonials are the BLOG and POSTS (where I don't want the post info or author info to show.
Thanks!
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.