Question with Blogspot CSS
2014-07-16, 01:19 AM,
#1
I'm trying to user a Blogspot as my landing page. I tried to upload my own background but Blogspot won't accept it as it is bigger than 300 KB. So I uploaded a random small image and proceeded to change it using the Edit HTML option.

I was able to change the image url but not its properties. The default value is


<Variable name="body.background" description="Body Background" type="background"
color="$(body.background.color)" default="#111111 url(//themes.googleusercontent.com/image?id=1OACCYOE0-eoTRTfsBuX1NMN9nz599ufI1Jh0CggPFA_sK80AGkIr8pLtYRpNUKPmwtEa) repeat-x fixed top center" value="$(color) url(http://wallpaper.png) repeat scroll top left"/>


I searched Google on how to position an image to center and prevent it from scrolling with the page. Found this code

html {
background: url(images/bg.jpg) no-repeat center center fixed;


I tried replace the "repeat scroll top left" from the original code with "no-repeat center center fixed" but Blogspot won' t accept it. The only thing that worked was "no-repeat" Am I missing something here?
Reply
2014-07-16, 01:45 AM,
#2
use this
{background-image:url('smiley.gif');background-repeat:no-repeat;background-attachment:fixed;background-position:center;}
Reply
2014-07-17, 11:51 AM,
#3
Hi,

It won't work. Here is the error message

Invalid variable declaration in page skin: This is not a recognized background variable value. Backgrounds must have exactly six components. Input: $(color) url(http://4.bp.blogspot.com/-_OElK46qDSg/U8...ion:center;
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Custom Ogads content locker CSS Mikka07 1 432 2017-06-09, 07:22 AM
Last Post: DrKent
  [HELP NEEDED] I have a question about what to do in my project! Fpsroca 0 551 2017-01-10, 09:05 AM
Last Post: Fpsroca
  [Hack/Security Question] Security and Proxies Raeynes 2 972 2016-12-30, 05:05 AM
Last Post: ArtoAllan
  OGads Custom CSS - Need Help ashu55 2 1,652 2016-12-15, 02:11 AM
Last Post: weblycos
  help in file css vip2 1 821 2016-11-25, 12:36 AM
Last Post: torothemes




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top