reverie icon indicating copy to clipboard operation
reverie copied to clipboard

Custom background image styling

Open sanderdewijs opened this issue 11 years ago • 5 comments

Maybe I'm just overlooking something, but I cannot find the scss part where the style attributes for the custom background (.body custom-background) are defined.

When I inspect the code with Chrome inspector the default styles are

background-image: url('media/background.jpg'); background-repeat: repeat; background-position: top left; background-attachment: scroll;

sanderdewijs avatar Dec 02 '13 14:12 sanderdewijs

Custom background was added vis javascript by WordPress.

milohuang avatar Dec 10 '13 08:12 milohuang

to style the backgroud by SCSS you can remove the lines of "// Add custom background support" in your functions.php, so that you can't customize that in Wordpress' Admin any more. This will let style.scss and the rest of pre-styled foundation magic to unveil it's background styles.

NRG-R9T avatar Dec 12 '13 14:12 NRG-R9T

That's what I was looking for, thanks!

sanderdewijs avatar Dec 12 '13 14:12 sanderdewijs

that thing drove me crazy until I found it. and the worst part, it's one of the first, if not THE first thing to begin with styling. I'd suggest to remove it from reverie.

NRG-R9T avatar Dec 12 '13 14:12 NRG-R9T

Drove me crazy too. But I'm glad I'm not alone :)

sanderdewijs avatar Dec 12 '13 15:12 sanderdewijs