Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1136924
    Coldpookie
    Participant

    I’m using ecwid store, however the ‘buy now’ button is hidden. Is this because Th X theme is altering the CSS?

    Many thanks

    #1136933
    Coldpookie
    Participant
    This reply has been marked as private.
    #1137063
    Rupok
    Member

    Hi there,

    Thanks for writing in! X is not interfering rather your code. It seems you have placed the below code :

    html#ecwid_html body#ecwid_body div.ecwid-AddToBagButton-up, html#ecwid_html body#ecwid_body div.ecwid-AddToBagButton-up-hovering {
      background: transparent url("http://www.pensionawarenessday.com/wp-content/uploads/2015/08/buy-now.png") no-repeat scroll center top !important;
    }

    But the image path is not valid as it doesn’t exists. Let’s remove this to get expected result.

    Cheers!

    #1138863
    Coldpookie
    Participant

    Hi,

    Thank you for the fast response. However I have not added that code. I have no clue where that has come from, or how to remove it.

    Many thanks

    #1139158
    Friech
    Moderator

    Hi There,

    That CSS is coming from the plugin. You can add this custom CSS for now to force the button to show.

    html#ecwid_html body#ecwid_body .ecwid-SingleProduct .ecwid-AddToBagButton {
        background: transparent url("https://d3j0zfs7paavns.cloudfront.net/static/v1/icons/add_to_bag.png") no-repeat top center !important;
    }

    It seems the issue is related to your CDN caching. Please clear any internal caching feature your site might have.

    Thanks.

    #1148468
    Coldpookie
    Participant

    That is awesome, Thank you a million. Oddly though. I haven’t installed the ecwid plugin. Your code worked a treat though. Thanks

    #1148529
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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