Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to get rid of gray behind WordPress site

#1
So all WordPress sites come with a background border that extends beyond the WordPress site. Usually gray in colour. I've been trying to get rid of mine but can't find the element in the CSS. I get a feeling it's something that is global and the CSS resides on top of it.

So now to figure out how to get rid of that global thingie. An image maybe?
Right. I've now found a bg.png file in this line:

Code:
background: #ddd url("images/bg.png");

The #ddd is the same color as the bg.png

Change the #ddd without changing the bg.png and there is no change.

Even though I get the principle it's kind'a clumsy and archaic. Search
#2
Can show us the sreencshot of that gray border?
A Cup of Coffee. Drinks
#3
Where do you see that gray?
#4
You can try to change this:

background: #ddd url("images/bg.png");

to:

background-color: #fff;
 
[Image: userbar.png]
[Image: polandbar4.gif]
#5
(01-09-2015, 10:37 AM)iGdesigner Wrote: You can try to change this:

background: #ddd url("images/bg.png");

to:

background-color: #fff;
Awesome! Thanks iG. I came across this suggestion when I was Googling it, but didn't put it together that the background changes to background-color. Am going to try this later in the day to see whether it works. Will certainly make it much less clumsy.
#6
Np buddy. I am not entirely sure if that would work with WordPress, but its better to check out. #fff can be replaced with any 6digit hex number. #fff is the same as #ffffff, but shorter as it already states that it will be a white color.
 
[Image: userbar.png]
[Image: polandbar4.gif]
#7
Tongue
Quote:#fff can be replaced with any 6digit hex number.
  




Users browsing this thread:
1 Guest(s)

How to get rid of gray behind WordPress site415