- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by Sebastian.
Author | Posts |
---|---|
Kezers
March 15, 2021 at 10:55 am
|
Hello, I’m absolutely new with Microthemer. I’m trying to figure out how to adjust this: the url is https://www.flagmaker.eu/en/product/flag/ then you should press “next” and select “carabiner” option. 1) I would like to move up the text of the checkboxes to be aligned to checkboxes itself. And to reduce the gap between two checkboxes to fit in the field space… 2) I would like to move up the button next Anyone can help me how to do this? |
Sebastian
March 15, 2021 at 8:07 pm
|
Hey, Lining up checkboxes with CSS is always tricky. I find CSS grid to be the most reliable way to vertically align content. So, create a selector for the label element that contains the checkboxes and text. You can find this by clicking around in Microthemer, or by copying and pasting the following custom selector:
After playing around a bit, these are the styles I added to make things appear like the screenshot below:
You can copy and paste these styles into the code editor to the left of the Font property group. And then adjust them further using the UI fields, if you wish (follow the blue dots). The “Next” button is already aligned, so I guess you figured that out already? Cheers, |
Kezers
March 17, 2021 at 6:20 pm
|
Hello Sebastian, I’m stuck to the first step, I don’t find selector. Do you know some video/tutorial for dummies? 😁 |
Sebastian
March 18, 2021 at 9:34 am
|
Hey, No problem, Microthemer won’t find that exact selector because it’s a bit unconventional. It’s the selector used by the theme or woocommerce. I found it when inspecting the page using Chrome’s dev tools. But if you click on one label element that contains the a checkbox, Microthemer should suggest a selector that targets both labels. And that should work as well. Here is a video explaining how to use all of the targeting options to select the right element. And the previous video I recommending shows how to copy and paste selectors into Microthemer, as an alternative to using the targeting options. Does that make any sense? |