Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #888026
    Shaun N
    Participant

    Hi, I have the below css implimented in the one column’s style field, yet it does not display on the live site. The change is right at the bottom of the page. THere is suppose to be a aluminum background image behind the “connect-it” image.

    The columns in the row is setup to be (1/4) (2/4) (1/4). The (2/4) columns is suppose to reflect the background image.

    background-image: url(“http://steelandpipes.co.za/wp-content/uploads/2014/10/alu-bg.jpg”)

    Home

    #888197
    John Ezra
    Member

    Hi there,

    Thanks for writing in! Upon checking your site, I find that two errors with your CSS that is showing up on the site.

    style="background-image: url (http://steelandpipes.co.za/wp-content/uploads/2014/10/alu-bg.jpg);"

    First, there shouldn’t be a space between url and the opening parenthesis. Secondly, you should be using either single quotes or double quotes and not two “Grave accents (found under the tilde key)”.

    If this isn’t your doing something is causing it. You may want to try and copy pasting this code which is similar to your code in your post but I put it in code brackets so it’s safe for copying and pasting. Sometimes quotes get reformatted when copy and pasting especially to and from sources that are not code editors. When this get reformatted it can cause errors in syntax.

    style="background-image: url('http://steelandpipes.co.za/wp-content/uploads/2014/10/alu-bg.jpg');"

    Hope this helps – thanks!

    #888290
    Shaun N
    Participant

    Thanks, sorted!

    #888764
    Jade
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-888026 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>