Jump to content

Centering product elements on Shop page [HELP]


-coLd-

Recommended Posts

putin ajutor , nu am cunostinte , dar ma descurc , totusi este ceva ce nu pot sa-i dau de cap , am incercat toate tutorialele posibile de pe google .

incerc sa centrez produsele din pagina shop  , iar ele raman in stanga , chiar daca incerc sa le mut si in dreapta ele tot in stanga raman ., am vazut ca daca dezactivez page layer  functioneaza , dar daca dezactvez page layer , atunci site-ul o ia razna , arata ca un 💩

link shop

 

 

Link to comment
Share on other sites

Nu stiu daca am inteles eu bine, dar sa speram ca te ajuta.

li.product-category.product > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce ul.products li.product a img {
    margin: 0 0 1em; - asa il ai tu default.
    margin: 1em 0 1em; - arata mai bine asa.
}

 

  • Thanks 1
Link to comment
Share on other sites

10 hours ago, Juliano Dillon said:

Nu stiu daca am inteles eu bine, dar sa speram ca te ajuta.

li.product-category.product > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce ul.products li.product a img {
    margin: 0 0 1em; - asa il ai tu default.
    margin: 1em 0 1em; - arata mai bine asa.
}

 

merci , reusisem sa schimb un cod , cel de sus nu functioneaza, este foarte ciudat ce am eu acolo . 

oricum multumesc de ajutor , am adaugat a 2-a linie oricum :D

  • Upvote 1

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.