I want to centre text drop 1.0 on my website https://swawe.store/ which is currently at the corner
Hello @attackon
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
HI @attackon
check this one.
- From you Admin page, go to Online Store > Themes
- Select the theme you want to edit
- Under the Asset folder, open the main.css(base.css, style.css or theme.css)
- Then place the code below at the very bottom of the file.
h2.title.inline-richtext.h2.scroll-trigger.animate--slide-in {
text-align: center;
}
- And Save.
- Result:
Hi @attackon
Please paste this code below to Custom CSS in your Online Store > Themes > Customize > Theme settings to do that.
.collection__title h2 { text-align: center !important; }
Hi @attackon
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
h2.title.inline-richtext.h2.scroll-trigger.animate–slide-in {
text-align: center;
}
Hope that my solution works for you.
Best regards,
Henry | PageFly


