Okay
  Public Ticket #165675
Woocommerce lightbox issue
Closed

Comments

  • Francesco started the conversation
    Hi Sir, couple of questions: 1) on my single product page (http://narlabs.com/narlabs/product/lean-whey-complex-5/) woocommerce lightbox seems to be broken. Any idea? I am with latest version of theme and later version of woo commerce 2) any suggestion to give custom style to "Add to cart" button by css? 3) sometimes my css code works if I place it in Themenectar framework but doesn't work if I place it in my child theme style.css. You know the reason? Just mu curiosity Thank you in advance best Francesco
  •  1,070
    ThemeNectar replied

    Hey Francesco!

    1. Please open your init.js file located in the js folder and try changing this:

    $("a[data-rel='prettyPhoto[product-gallery]']").each(function(){

    to this:

    $("a[data-rel='prettyPhoto[product-gallery]'], a[data-rel='prettyPhoto']").each(function(){

    2. You can add this into your Custom CSS box located in your Salient Options panel:

    body button.single_add_to_cart_button {
       font-size: 18px!importnat;
    }

    3. You need to make sure the rules in the child theme are more specific than the parent theme or you can use !important

    Cheers!

  • Joseph replied

    My single product light box is not working either. And I cannot find that line in the js file mentioned. http://danandjoseph.com

  •  8,839
    Tahir replied

    Hey Joseph!

    I believe nectar is referring to an old version of the theme as the ticket date suggest.


    Please update to Salient Theme Version 4.1.1 .


    You can update your theme by downloading a fresh copy from ThemeForest, deleting the current version you have on your server and uploading the new.
    It's recommended that you use FTP, but this also can be done with the WP dashboard if you prefer. The reason FTP is superior for this is because the theme won't have to be deactivated during the process so you won't have to reassign your widgets. If you're
    interested in keeping up to date with the latest changes and fixes, please refer to the changelog: http://themenectar.com/changelogs/salient.html
    Also, remember to clear your browser cache after each update if you notice anything off. Old theme files can persist in your local cache and make you think something's wrong.
    Also please see this FAQ: http://themenectar.ticksy.com/faq/2252 .

    Thanks


    ThemeNectar Support Team