Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1214719

    Hi,

    Mike helped me to create an icon list on all pages of my e-shop in this thread:
    https://kriesi.at/support/topic/add-icon-list-on-all-pages-of-my-website-including-product-page/

    Everything works fine but I only noticed a tiny issue…
    The appearance is ok on all pages (see screenshot 1), but not on My Account and Shopping Cart pages (see screenshot 2).
    How could I fix this?

    If needed, you can find a link and credentials to my website in private content.

    Thanks a lot!

    #1215592

    Hey,

    Please find following code in Style.css file of your child theme

    #icone-livraison {
        width: 380px;
        margin-left: 50px;
        margin-top: 45px;
        margin-bottom: 0;
        display: inline-flex;
        justify-content: space-around;
    }

    and change “margin-left” value to “49” :)

    Best regards,
    Yigit

    #1215762

    Hi Yigit,
    Thanks for your reply.
    What do I need to add before this code, to apply it ONLY to WooCommerce pages (My Account, Shopping Cart and so on)?
    Thanks a lot!

    #1215950

    Hi,

    The link above for the site is not loading for me.

    Best regards,
    Jordan Shannon

    #1216091

    Hi Jordan,

    I’m sorry I don’t know what happened..
    Everything seems to be ok now.
    Could you please try again?

    Thanks!

    #1216550

    Hi,
    Please find new credentials in private content.
    Waiting for your help.
    Thanks a lot!

    #1218718

    Hi,

    Sorry for the delay. You have to adjust the width of the icon containers on smaller screens or replace the current width value with relative length units (32%) instead of absolute (380px).

    @media only screen and (max-width: 1366px) {
        #icone-livraison {
    	width: 32%;
    	margin-left: 1%;
        }
    }

    Best regards,
    Ismael

    #1218876

    Hi Ismael,
    Thanks for your reply.
    So I tried to replace the current width value with relative length units and now my code is:

    #icone-livraison {
    width: 32%;
    margin-left: 1%;
    margin-top: 45px;
    margin-bottom: 0px;
    display: inline-flex;
    justify-content: space-around;
    }

    But I still don’t understand why alignment is different between “classic” pages and WooCommerce pages (Shopping cart page, My Account page and so on…). That’s the reason why I asked before how to apply other values to WooCommerce pages ONLY.

    I made a screenshot of what I mean in private content.
    Where does this issue come from and how could I fix this?

    Thanks a lot!

    #1219530

    Hi,

    Not really sure why but on pages such as Cart, Checkout and My Account, there was whitespace between columns. So I deleted the space between shortcode tags in Functions.php file and that helped.
    You can set width to 32.3% and it should align correctly on all pages :)

    Best regards,
    Yigit

    #1219557

    Hi Yigit,
    No need to set width. What you did is enough to do the trick.
    Thank you very much for your help! ;-)

    #1219563

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Add icon list on all pages’ is closed to new replies.