Custom Background: Can’t Set Color Default

You have to pass the $defaults as the second parameter to add_theme_support() per the Codex $defaults = array( ‘default-color’ => ‘000000’, ‘default-image’ => ”, ‘wp-head-callback’ => ‘_custom_background_cb’, ‘admin-head-callback’ => ”, ‘admin-preview-callback’ => ” ); add_theme_support( ‘custom-background’, $defaults);

Jumbotron not showing up on Firefox or Safari

Maybe you CSS code is confusing the other browsers. First you are using the prefixed properties after the unprefixed ones, I would inverse that. Secondly you are using the background shorthand property with the values in uncommon order. I think there are browsers out there, which expect them in specific order. .jumbotron { background: url(‘<?php … Read more

Add border/background color/color text of embedded pop-up [closed]

Simple CSS Styling Add this to your CSS #mc_embed_signup { background:#000; color:fff; border:1px solid red; padding:20px; } Adjust to Your Preferences You can adjust the border width by giving it a larger than 1px value, such as this: border:8px solid red; These are the colour values used. They are called Hexadecimals (Hex): #fff = White … Read more

Inserting a background-image

I think your CSS is OK, (I am not an expert at CSS but I am currently learning it myself). I think you issue is a cerficate error on the page you are hosting try this: body {background-image: url(“https://image.shutterstock.com/image-vector/sample-stamp-grunge-texture-vector-600w-1389188336.jpg”); background-size:cover;} I tested it in the additional CSS on my page and it worked. I also … Read more

How to change the background color that appears at top when we pull down a website on mobile device?

This is simply the background colour of the body element. On your site it’s currently set as this: body { background-color: #c1e7e7; } This appears to be being added by your theme, probably based on a customisation option somewhere. You’d be able to overwrite it by adding matching CSS in Appearance > Customize > Addition … Read more

Custom Background default color not changing

I have hunted down the problem. It is the _custom_background_cb function in wp-includes/theme.php file. on line 1272 the comment “A default has to be specified in style.css. It will not be printed here.” Line 1272 is where the color is being retrieved: $color = get_theme_mod( ‘background_color’ ); If we change that to: $color = get_theme_mod( … Read more

Blank/White on certain parts of pages

This is the CSS that you want to run to set your backgroudn color to black: #thepassion_content { background: #000; } You can add that to your child theme’s style.css, or you can add the following to your child theme’s functions.php: add_action( ‘wp_head’, ‘hide_winkelwagen’ ); function hide_winkelwagen() { ?> <style itype=”text/css”> #thepassion_content { background: #000; … Read more