Aleš Sýkora wrote

Properly align Checkbox in Astra theme

4. 7. 2019 in

Hello, today I found that Astra theme incorrectly displays Toolset form checkbox. This is fast repair:

Before:

Checkbox is centered inside its label

After:

Checkbox position after CSS fix

CSS fix:

.wpt-form-item .wpt-form-checkbox {
    width: auto;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More from category
Aleš Sýkora wrote
Translate WordPress string with code
21. 1. 2021 in
Sometimes you want to change just one word in translation and you dont want to create .po and .mo files, install translation plugins etc. So use the function str_replace and replace the string you want. For example I am changin “Add to cart” to “Přidat do košíku”. You can place this code to your code […]
Read More
Aleš Sýkora wrote
Add icon to the menu with custom SVG
2. 4. 2021 in
If you need to add icon to the menu item in WordPress you can find many tutorials using fontawesome, plugins or other icon packs embedded from other sites. For my purposes – loading of more external scripts is not good solution. So when I need to add my custom icon to the menu I do […]
Read More
Aleš Sýkora wrote
Tracking events with Google Tag manager & WordPress
23. 8. 2019 in
Add numbers to your content with Google Tag Manager & Google Analytics Events.
Read More
magnifiercross linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram