In general, Customily options should be positioned before the "Add to Cart" button. However, in some cases, they may appear in the wrong location, requiring an adjustment to their position.
Additionally, some clients, for aesthetic reasons, request that these options be placed in a specific location according to their preferences.
To move the options to your preferred location, we have added a new setting
1. Open the app Settings
2. Go the the tab Styles
How does it work?
Don’t worry, it’s very easy, and you’ll enjoy doing it. All you need is the selector of the element that will serve as a guide to position the options as you prefer (Auto, Inside, Before, After).
How to inspect an element and get its class or ID to use it as a selector:
- Right-click on the element you want to inspect on the webpage and select "Inspect" (or similar, depending on your browser's language).
- The developer tools panel will open, showing the page's HTML code.
- Hover over the lines of code until the element is highlighted on the page.
- Look for the
class
orid
attribute in the HTML tag of the element:- If it’s a class, it will appear in the
class
attribute, e.g.,class="my-class"
. - If it’s an ID, it will appear in the
id
attribute, e.g.,id="my-id"
.
- If it’s a class, it will appear in the
- Copy the class or ID you want to use.
- Use the selector in your code as follows:
- For a class, precede the name with a dot (
.
), e.g.,.my-class
. - For an ID, precede the name with a hash symbol (
#
), e.g.,#my-id
.
- For a class, precede the name with a dot (
Once you have the selector you will use as a guide, follow these steps:
- Select the position where you want the options to appear (Auto, Inside, Before, After).
- Enter the selector in the text bar that appears after clicking on one of the position options.
- Don’t forget to click Save.
Share
Was this article helpful?
Have more questions? Submit a request