New Landing How can we help? Themeforest Theme Support Dante Custom CSS background shows old background when reloading

Viewing 8 posts - 16 through 23 (of 23 total)
  • Posted in: Dante
  • #276238
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @Joanna

    It’s not something that is a fault at your end, or the theme’s end. It’s simply that the background image has to be loaded before it can show. The only thing we can advise to make the transition smoother is setting the background colour to be similar to that of the image, to reduce the evident flash.

    – Ed

    #276254
    Joanna
    Member
    Post count: 185

    OK, thank you everyone for responses and help! I will try to change the background colour to make it look better.

    Thank you,

    Joanna

    #276308
    Joanna
    Member
    Post count: 185

    Hi Ed,

    I am sorry, one more question how would I change the background colour now? I tried simple background-color: #e1e1e1; but it did not work.

    Thank you,

    Joanna

    #276324
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try to replace this current css

    #main-container {
        background-image: url(http://www.varrojoanna.com/wp-content/uploads/2016/05/website-bg-pattern-V2.jpg)!important;
        background-repeat: repeat;
    }

    by this one

    #main-container {
        background-color: #e1e1e1;
    }

    -Rui

    #276333
    Joanna
    Member
    Post count: 185

    When I use this code, the bg image disappears and background color does not work at all. Still white.

    Thanks,

    Jo

    #276656
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You set the background color here:

    I have done this for you and it works nicely. You need to remember to clear or disable your caching plugin when making these changes, else you always see an old cached version of the front-end.

    – David.

    #276664
    Joanna
    Member
    Post count: 185

    Super, thank you very much for your help!

    Joanna

    #276991
    David Martin – Support
    Moderator
    Post count: 20834

    Happy to help you out 🙂

    Thanks.

Viewing 8 posts - 16 through 23 (of 23 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register