Questions tagged [custom-background]

The custom background is a WP feature that gives special support to backgrounds on the body tag. To use this feature it must be activated in the theme.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
44 views

Add Custom Background Properties to Customizer

I've just added a second background image upload with the intent of using in the footer: $wp_customize->add_setting( 'tcx_background_image', array( 'default' => '', 'transport' =...
1
vote
0answers
561 views

Custom Background not Appearing

I have a very simple theme to which I need to add custom-background support. When I go into appearance -> customize, I am able to select a background image. However, the background of the site ...
1
vote
1answer
987 views

Background image not appearing

I'm trying to add a custom background on a child theme. In the child theme's functions.php, I add add_theme_support( 'custom-background'); and the background option appears under the "Appearance" menu ...
0
votes
0answers
9 views

change with CSS the color of an svg background image set with “background-image: url()”

does anyone knows if it is possible to change the color (the stroke and fill attributes) of a SVG illustration used as a background with background-image: url() directly via CSS? Thank you
0
votes
1answer
14 views

Inserting a background-image

I would like all my site pages to have a background-image, such as: body { background-image: url(https://5e97-e8af726b4e97.wptiger.fr/wp-content/themes/twentyseventeen/assets/images/header.jpg); ...
0
votes
0answers
11 views

Structuring Nav Menu and Background Custom page (Help)

i´m creating theme is my first theme and i have a problem with panel nav menu of wordpress, I´m creating the order of nav menu in the panel wordpress and does not order, i was make page and ...
0
votes
1answer
30 views

I would like to set a FULL SCREEN background image to all my pages (same way it is on my home page)

hopefully you can help. My website: www.chromahouse.com I am trying to set a full screen background image to a number of specific pages (about 5-6 other pages) The link to the image I want to use: ...
0
votes
0answers
12 views

How to add backgroundimage to blog as well?

First time poster here. I have the following page. [https://wellbeing-works.ch][1]. As you can see the background image (lake with mountains) appears on every page, except the blog page. As I can no ...
0
votes
0answers
74 views

Fetch customizer image and output as an inline css style background image

So I have a feeling this is quite simple, but Im a bone head since I'm still learning PHP as I hack away at themes via my own child-theming... In short, I've built a customizer section in my ...
0
votes
0answers
54 views

Setting multiple videos for the video background

Is there any way to include a video background that takes multiple self-hosted videos and play them one by one? Most of the plugins can play only one video for the background.
0
votes
1answer
129 views

Custom Background for each page and post

I've created a custom background metabox and was able to call it on multiple post types and posts. I have 2 issues need your help please. Is it possible to include also custom taxonomies and post ...
0
votes
2answers
603 views

Jumbotron not showing up on Firefox or Safari

I just want to start out by saying, that I have tried multiple things before I resorted to writing this entry. You guys are my only hope. My site works in Chrome, but disappears in Firefox or Safari. ...
0
votes
1answer
167 views

Featured Image as Background with Offset

I have a custom Wp_Query in my header that displays the latest post and then a list of 10 posts below which are offset so not to include the recent post. I want to use the latest post's featured ...
0
votes
1answer
31 views

custom-background callback breaks media uploader

I've added theme support for a custom background/color along with a callback and it seems to be breaking my media uploader, as while the uploader box appears, uploads result in an error and image ...
0
votes
1answer
258 views

Different body image backgrounds on different pages, posts and categories

I am trying to implement the ability to choose a different body background image to different posts, pages and categories. I am using Advanced Custom Fields to add an image field to every post, page ...
0
votes
0answers
214 views

Inline Styling a div from a Custom Metabox

I am building a custom page with repeatable metaboxes that controls content, images and background image. I am having issues when it comes to displaying the background image as an inline style. As of ...
0
votes
0answers
133 views

Why, when it comes to custom background and image, does 'The first value registered' win?

I'm messing about with overriding parent themes by child themes. The parent theme registers custom backgrounds by hooking add_theme_support('custom-background',$args) to after_setup_theme. Now, if I ...
0
votes
1answer
307 views

Problems Replacing Background Color with Static Background Image in Responsive Design

I'm new here. I've tried the WordPress forums and the actual theme forum for my theme with no luck and I heard that this is a good place to come ask questions. I'm hoping someone out there will take ...