Need help? Check out our Support site, then


Gradient background for Ari theme

  1. Hi, I'm working on cubpub.wordpress.com. Soon I will purchase the customization and moving hosting upgrades. Before I do I want to make a decent, simple background to go behind the content (which will be in white). First I tried making diagonal stripes but I found that they weren't lining up right, so I turned to a gradient background.

    I used this text in the css (preview mode), however it replaced the entire background with the gradient, removing all white areas even behind text. What can I do to get something simple like a gradient behind these content areas?

    <style type="text/css">
    body{
    background-image: linear-gradient(bottom, rgb(27,30,51) 0%, rgb(20,75,133) 100%);
    background-image: -o-linear-gradient(bottom, rgb(27,30,51) 0%, rgb(20,75,133) 100%);
    background-image: -moz-linear-gradient(bottom, rgb(27,30,51) 0%, rgb(20,75,133) 100%);
    background-image: -webkit-linear-gradient(bottom, rgb(27,30,51) 0%, rgb(20,75,133) 100%);
    background-image: -ms-linear-gradient(bottom, rgb(27,30,51) 0%, rgb(20,75,133) 100%);

    background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(27,30,51)),
    color-stop(1, rgb(20,75,133))
    );
    }
    </style>

    Thank you so much for any help.

    The blog I need help with is cubpub.wordpress.com.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags