Woo's Response to issues in Epik with WooCommerce

Homepage Community Forums Epik Theme Support Woo's Response to issues in Epik with WooCommerce

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #13913
    HiNooril
    Customer

      I’m having some formatting issues on my Related Products ( http://newlilypad.wpengine.com/product-category/commercial/ and the very bottom at http://newlilypad.wpengine.com/shop/milbank-charging-station-cabinet-mount-single-port-208v240vj1772-commercial/)

      and single products (http://newlilypad.wpengine.com/product-category/residential/)

      I contacted Woo and they said:
      Your new theme, Epik, seems to have some WooCommerce template overrides, which are out of date and your theme developer (www.appfinite.com) has some updates available. Perhaps you can try and update those, and you might see some style/code improvements.

      I’m unclear as to what actions I can take, although it does seem to appear there are actions to take. Does anyone know what she’s talking about?

      #13918
      Eric
      Customer

        Sorry I’m not sure why they would say that. There are no template overrides, or any WooCommerce code added inside of the theme that would affect WooCommerce functionality.

        The only thing that Epik will affect is the looks/style (css), but the functionality is not affected by the child theme in any way since they haven’t added any code to control WooCommerce.

        If you’re using the Genesis Framework you’re supposed to use the “Genesis Connect” WooCommerce plugin regardless of what child theme you’re using – https://wordpress.org/plugins/genesis-connect-woocommerce/ That should sync it up to work a little better with Genesis. Again, this has nothing to do with the child theme you use, you’ll need it no matter which Genesis theme you use since its designed to work with the framework. So give that plugin a try and see if it fixes any issues.

        I’ve used WooCommerce with Epik and a few other themes and haven’t had any issues. They are actually using WooCommerce for this website (appfinite) as their store – https://appfinite.com/shop It’s what they’ve been using since the beginning, so it definitely works.

        Are you referring to the look and feel?


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #13921
        HiNooril
        Customer

          Hi Eric:

          I have been using Genesis Connect and it’s activated.
          I am referring to look/feel issues.
          Sometimes my CSS doesn’t take effect where I want it to.
          I’m not sure if that affects your answer.

          #13922
          HiNooril
          Customer

            Here’s an example:
            On this page, http://newlilypad.wpengine.com/product-category/accessory/?orderby=popularity

            the applicable css seems to be: .woocommerce .woocommerce-ordering select, .woocommerce-page .woocommerce-ordering select {
            vertical-align: top; }
            That’s in the Woo Commerce Css file.
            I put that code in the regular css file and edited the woo css file.
            I tried moving the selector to bottom, and I tried display: none !important.
            Nothing makes any difference.

            #13923
            pgtreacy
            Customer

              Hi HiNooril,

              I assume it’s the way the images are not centered in their background that you are not happy with? You don’t say what it is you want to fix so I will assume this is the issue.

              The problem is line 69 of the Epik style.css file which is giving the product image a 40px left margin

              /* woo edited sept 2014, take out box, add width */
              .woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
              box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.3) !important;
              display: block;
              height: auto;
              margin: 0 40px 8px; }

              Because only 3 values are specified here

              margin: 0 40px 8px

              the 40px applies to both left and right margins. If you did this

              margin: 0 40px 8px 0

              then the left margin would be 0.

              I assume you have edited the epik style.css and entered this code? I think this will get overwritten with Epik updates so you would be better off creating your own CSS file and putting your CSS in there. You can insert a link to this CSS file in the Genesis Theme Settings in the Header and Footer Scripts section – just stick it in the header OR footer.

              You can give pages/posts their own custom body class and use this to target your CSS to the elements you want.

              Cheers

              Phil

              #13925
              HiNooril
              Customer

                Hi – I appreciate the response and will try to clarify in this post.

                I understand your comments about the margin. That specific thing was not my initial problem, although when I made the change, it did look better. Thanks. What tool are you using to see the CSS? I don’t see the comments when I use Firebug.

                I’m making changes in the style.css file. Epik is functioning as a child theme, so that file should be safe from updates.

                What I’m going for is that I want this page: http://www.lilypadev.com/product-category/accessory/ (from)
                to be what you see on this page: http://newlilypad.wpengine.com/product-category/accessory/ (to)

                1) there’s an issue with the product images (maybe all images on my site) are sizing up bigger
                you can see the issue here http://www.lilypadev.com/product-category/accessory/ and
                again on this page: http://newlilypad.wpengine.com/shop/electric-vehicle-charging-station-signs-two/
                it’s really a problem in the slider. those images are also off center (I have been to the genesis responsive theme people
                and here and can’t get it resolved).

                2) there is this code that wasn’t on the New site, which I have put in the css, and which surely is not correct, but I don’t know how to make it do.
                #main { width: 600px; }
                .col-left { float: left;

                #13926
                HiNooril
                Customer

                  P.S. Re that image issue
                  If I change the image to 50 or 75% in my style.css with !important, it doesn’t override the 100% setting in woocommerce.css.
                  How can I change it?

                  #13928
                  pgtreacy
                  Customer

                    Hi,

                    Looking at the sites again I can see that on this site

                    http://newlilypad.wpengine.com/product-category/accessory/

                    there are two bits of CSS affecting the image sizes. Firstly in

                    href=’//newlilypad.wpengine.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css

                    there’s this

                    ul.products li.product a img {
                    width: 100%;
                    height: auto;
                    display: block;
                    margin: 0px 0px 8px;
                    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
                    transition: all 0.2s ease-in-out 0s;
                    }

                    which is setting the image width to 100%. Setting things to % sizes is setting them relative to their containing block so an image that has 100% width isn’t necessarily its actual size, see here http://www.impressivewebs.com/width-100-percent-css/

                    Once you remove this the next problem is in the Epik style.css :

                    ul.products img {
                    background: none repeat scroll 0px 0px transparent;
                    border: 0px none;
                    float: left !important;
                    height: auto;
                    margin: 0px 12px 0px 0px;
                    padding: 0px;
                    width: 90px;
                    }

                    which is setting the img width to 90px. Remove this and the image displays at its correct size.

                    On the site http://www.lilypadev.com/product-category/accessory/ images are correct size because its not using the WooCommerce CSS and there’s a rule in the custom.css file

                    ul.products img {
                    width: auto;
                    height: auto;
                    }

                    If you change the rules in the Woo Commerce and Epik CSS style files, then you could affect something else. What I would do is create a new rule that is specific enough overrides these two rules. Something like the custom.css rule above with !important after it.

                    On this page the problem is similar http://newlilypad.wpengine.com/shop/electric-vehicle-charging-station-signs-two/

                    the woocommerce.css is sizing the images to 100%, which is why they are too big.

                    div.product div.images img, #content div.product div.images img {
                    display: block;
                    width: 100%;
                    height: auto;
                    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
                    transition: all 0.2s ease-in-out 0s;
                    }

                    Really Woo should be fixing that as they shouldn’t be sizing stuff to 100%

                    The rule #main { width: 600px; } is looking for the ID main in your HTML but I don’t see one so that is why this is having no effect. The <main> container doesn’t have an ID by which you can select it. The Epik style.css is setting the <main> container to 740px so change that

                    .content {
                    float: right;
                    width: 740px;
                    }

                    I don’t see anything in the HTML with a class of col-left so this line isn’t affecting anything

                    .col-left { float: left; }

                    I’m just using the Inspector in Firefox to see the code ( Right-click, Inspect Element (Q) ). I have then opened the CSS file which is why I can see/copy the comments.

                    Phil

                    #13934
                    HiNooril
                    Customer

                      Thanks! That was something to sort through!

                      I really appreciate the assistance!
                      I have made all the changes.
                      It has made a difference for sure.

                      It seems like somehow the Sort by box has come back.
                      I’m going to try the inspector.

                      Do you see anything that could change the two across like here….http://newlilypad.wpengine.com/product-category/accessory/
                      to one across, like here:http://www.lilypadev.com/product-category/accessory/
                      That would be so helpful. It would still be missing the snippet, but I think we could live with it.

                      (I have a couple other issues on this forum – main menu items appear exactly in the reverse order, and if there’s a way to remove the box/border in sliders that don’t have any content).

                      #13938
                      HiNooril
                      Customer

                        Okay, this seems like a Woo/CSS issue – I acknowledge you for helping out.
                        I’ll see if someone on fiverr can help to identify the qualifier
                        that would allow for one across on this page http://newlilypad.wpengine.com/product-category/commercial/
                        and two across on this page http://newlilypad.wpengine.com/shop/

                        Changes to the percent here cause them both to respond the same:
                        .woocommerce ul.products li {
                        width: 42% !important; }

                        And getting rid of the sortby on these pages:http://newlilypad.wpengine.com/product-category/commercial/
                        gets rid of the input fields for the cart
                        button, input, select, textarea {
                        display: none !important; }

                        #14005
                        HiNooril
                        Customer

                          this can be closed

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • The topic ‘Woo's Response to issues in Epik with WooCommerce’ is closed to new replies.