Hello,
I’ve read several similar threads on this but I must be putting “text-align: center” in the wrong place because the custom text I added in my footer isn’t aligning center as I would like it (website here). Thank you in advance!
@Snow_Wolf
are you want to align text center in this?
‘Purchase of high-end air purifiers and professional ionisers to clean and improve air quality in the home and office. Elimination of all forms of pollution (fine particles, allergens, dust, germs, viruses, odours, chemicals, VOCs, fumes, etc.).’
@shreyhweb yes, exactly!
Hi @Snow_Wolf ,
I understand that you want to text align center the specific paragraph in the footer, which is currently in left alignment.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “theme.scss.liquid” or “styles.scss.liquid” file, depending on which file your theme uses to store its CSS styles.
- At the bottom of the file, add the following CSS code:
- And Save.
ul.footer__list-social.list-unstyled.list-social li {
text-align: center;
}
I hope it help.
Hello @Made4uo-Ribe and thank you for your response! Looks like an easy solution, however my theme (Refresh, from Shopify) doesn’t have either a theme.scss.liquid nor a styles.scss.liquid in Assets. No file named “styles” even or “scss” (except for paymentfont.scss.liquid). Any idea what name it could be?
Update: I added it at the bottom of Assets>Base.CSS and it worked!
Oh sorry for that it must be with .css on the last name..
@Snow_Wolf
Thankyou for reaching us. You got the solution.
if you discuss further information related with shopify then you feel free to contact us.
Im currently trying this- However “theme.scss.liquid” or “styles.scss.liquid” doesnt exist in my code under assets. The closest thing i can find it “theme-editor.js”
I am trying to center the alignment in my footer section only.
Please help!
Would you mind to share your store URL?Thanks!
Hi there, I have the exact same issue. I’m using the dawn theme and am trying to centre the footer on the mobile version. I don’t have the codes above. The codes you may find relevant that I have include: section-footer.css / theme-editor.js / base.css. My website is Imporify.com.
Thanks in advance!
