• sleenmg

    (@sleenmg)


    I’m using the column shortcode and would like to use an image behind the columns. I’m doing this on other page with the following

    .post-35 {
    background-image: url(“https://www.*************/wp-content/uploads/2015/02/skull24.png”);
    background-repeat:no-repeat;
    background-size:75%;
    background-position:center;
    }

    This works fine on all my pages where I need it except where there is a column shortcode. I’ve tried using !important on the iumage and also a z-index (up to 99 even) but doesn’t work. Will I be able to do this and if so, what is the trick?

    Thanks so much for such a great plugin. I’m constantly learning more about this plugin each week.

    https://www.ads-software.com/plugins/shortcodes-ultimate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sleenmg

    (@sleenmg)

    Forgot to mu my code in brackets.

    .post-35 {
    background-image: url("https://www.*************/wp-content/uploads/2015/02/skull24.png");
    background-repeat:no-repeat;
    background-size:75%;
    background-position:center;
    }
    Thread Starter sleenmg

    (@sleenmg)

    I figured it out. I just added a class to the row and then in CSS added a background image and it worked perfectly.

    .skull {background-image: url("h********/wp-content/uploads/2015/02/skull24.png");
        background-repeat:no-repeat;
        background-size:90%;
        background-position: 10% 10%;
    }

    I knew there had to be a way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Background images’ is closed to new replies.