Custom CSS for background and header/top bar [Transparent header]

edited February 2015 in Theme support
Hi, I have to different but related problems.

1: I'm trying to use 2 background images - 1 top right and 1 bottom left. I've tried the below in both the custom css in theme options, and in the custom css on an individual page. What am I doing wrong?

{
  background: url(wp-content/uploads/2015/02/topright.png),
                url(wp-content/uploads/2015/02/bottomleft.png);
  background-repeat: no-repeat, no-repeat;
  background-position: top right, bottom right;
}

2. I'm using a stacked header and want to make the header/top bar transparent so that the top right image can wrap the content. I've tried using custom css to implement transparency with rgba color and there's no difference.

Page is: http://www.sashandveil.co.uk/?page_id=548

Thanks for any help!

Comments

  • edited February 2015
    Hi,

    1. It is not possible to use 2 background images. Only one background image is possible per page.

    2. This is very hard to do it and needs a lot of modifications in css. But if you will send us access to your dashboard on pm then we can have a look on it.

    EDITED!!! To make transparent header as in this case, you must use below custom css:
    #Wrapper, #Content {
        background-color: transparent;
    }

    #Header_wrapper {
        background-color: transparent !important;
    }
    #Wrapper {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    #Top_bar:not(.is-sticky) {
        background: none !important;
    }
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.