Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-11-2019, 04:33 AM
TRIFI Vorrat's Avatar
TRIFI Vorrat TRIFI Vorrat is offline
Join Date: Jun 2019
Posts: 2
Default Single Product Widget: strictly align left


I am using the single product widget aka "Buy Now Button" on my website and I need the elements inside the widget to be strictly aligned left (so that everything fits with the rest of the page).
When I use the code as-is, it seems like the elements are not left-aligned at all, but actually center-aligned - even though I did not check the center-horizontally option.

I have tried to inspect the elements inside the widget with Google Chrome and I tried both "float:left" and "margin-left: 0px" as well as "margin-left: -30px" (and other numbers), but it either doesn't work at all or the elements are not exactly aligned.

I would really really appreciate some help with this, as I'm out of ideas right now. There must be some easy way to achieve this, as left-aligned is usually the default anyway (afaik).

I only use "options", "quantity selection" and the "buy now button" - no image, no price or anything else - so I would only need the CSS code for those 3 things.
I hope someone around here knows how to get this working Thanks in advance!

align, buy now button, css, left align, single product widget

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:02 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.