Forum Replies Created
-
AuthorPosts
-
January 26, 2016 at 11:57 am in reply to: Change only footer widget background color in the Altitude Pro theme #177582garnettaMember
Thank you!!!
January 26, 2016 at 11:01 am in reply to: Change only footer widget background color in the Altitude Pro theme #177573garnettaMemberI'm not trying to change the Site Footer color, I'm trying to change the color of the Footer Widget area. : )
January 25, 2016 at 2:40 pm in reply to: Change only footer widget background color in the Altitude Pro theme #177507garnettaMemberUnfortunately, that doesn't work in the Altitude child theme. That CSS code is already in the style.css file and I've tried changing the background color there.
There must be another place that something needs to be tweaked. This child theme allows you to select a common color to use for both the links and for the footer widgets background color. I don't want the footer widget background to be the same color as the links.
garnettaMemberhttp://www.centralmissourielectriccooperative.com/power/about-cooperatives/
I adjusted the background image for the moment, but I would still like to know how to keep the image from stretching so that only a small amount from the top left shows.
Thank you.
Garnetta
February 9, 2014 at 4:01 pm in reply to: How to make secondary sidebar transparent in Agency-Pro #89536garnettaMemberNever mind. I figured it out.
garnettaMemberThat fixed it! Thank you so much!!
garnettaMemberThis code is still in my Functions file:
//* Add support for custom background
add_theme_support( 'custom-background', array( 'wp-head-callback' => 'agency_background_callback' ) );//* Add custom background callback for background color
function agency_background_callback() {if ( ! get_background_color() )
return;printf( '<style>body { background-color: #%s; }</style>' . "\n", get_background_color() );
}
garnettaMemberI re-added it after I removed the code.
garnettaMemberYou can see the screenshot here: http://palspetcremationsedalia.com/example.jpg
garnettaMemberhttp://palspetcremationsedalia.com/pets
There's not much there because I just got started. 🙂
garnettaMemberI can add the custom image and it shows it in the custom background settings page, but when I save it and view the page it's not there.
garnettaMemberI removed the code and it no longer displays a custom background image. This is what I removed from the Functions.php:
//* Enqueue Backstretch script and prepare images for loading
add_action( 'wp_enqueue_scripts', 'agency_enqueue_backstretch_scripts' );
function agency_enqueue_backstretch_scripts() {//* Load scripts only if custom background is being used
if ( ! get_background_image() )
return;wp_enqueue_script( 'agency-pro-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_script( 'agency-pro-backstretch-set', get_bloginfo( 'stylesheet_directory' ).'/js/backstretch-set.js' , array( 'jquery', 'agency-pro-backstretch' ), '1.0.0' );wp_localize_script( 'agency-pro-backstretch-set', 'BackStretchImg', array( 'src' => str_replace( 'http:', '', get_background_image() ) ) );
}
garnettaMemberWhere is the backstretch code?
garnettaMemberI'm developing it here: http://www.garnetta.com/design
Thanks!
garnettaMemberNever mind. My my site is still mobile responsive. Firefox was having a problem.
Thanks!
G
-
AuthorPosts