Site logo

[Resolved] woocommerce shop page

Home Forums Support [Resolved] woocommerce shop page

Home Forums Support woocommerce shop page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2539719
    Jusung

    Hello.

    On this page, I am trying to put the view product button next to the price. but It doesn’t work.

    .woocommerce-loop-product__title {
    text-align: left;
    }
    .woocommerce-product-details__short-description {
    text-align: left;
    }
    .price {
    float: left;
    }
    .addtocartbutton {
    float: right;
    }

    This is my trying. I use php code to add view product.

    #2540138
    David
    Staff
    Customer Support

    Hi there,

    its not really possible, as the Product is wrapped inside an <a> link, and you would have to add your <a> inside that. Which would be invalid HTML, and your link would not do anything…

    #2540640
    Jusung

    Hello.

    Now, I wrapped the View button by div
    and I wrapped the total purchase and total review by div.

    Can I align total purchase and total review on the left side and put the view button on the right side?

    If can’t, how I have to make those 3 elements./?

    #2540656
    Fernando
    Customer Support

    Hi Jusung,

    This is what I see: https://share.getcloudapp.com/Qwu8vzEv

    They appear to be aligned the way you want them to be. Would you still need assistance regarding this?

    #2540660
    Jusung

    Yeah I am trying to fix it on my own in real time.
    and it seems working.. I am not sure if this do being done in the right way..

    One problem is that there seems to be margin on the view button.
    I want to meed the end of view button and review..

    #2540662
    Fernando
    Customer Support

    Can you re-phrase or explain this a bit more?: “I want to meed the end of view button and review”

    #2540664
    Jusung

    I mean the end of the number of review and the button should be the same.

    but right now, it is not the same. The button should be more upsided.

    #2540679
    Fernando
    Customer Support

    Try adding this through Appearance > Customize > Additional CSS:

    .page-id-201 ul.products li.product .button.addtocartbutton {
        margin-top: 0;
    }
    #2540689
    Jusung

    Thank you!!

    #2540690
    Fernando
    Customer Support

    You’re welcome, Jusung!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.