Hello, i have the problem that i cant realy edit my policie pages. I want that the text is at the left site like on this site. (https://www.esn.com/policies/contact-information) Does anyone have a code for this?
This is the text:
Angaben gemäß § 5 TMG
Dr. Johanna Budwig - Algenöl
My Store Admin
An den Kolonaten 2–4, 26160 , Deutschland
To achieve the same left-aligned text layout as seen on the provided example, you’ll need to update the CSS styling for your policy pages. Here’s a quick solution you can implement to adjust the alignment of the text on your Shopify policy pages:
Follow these steps:
Online Store
Themes
Edit Code
In the “Assets” folder, find and open your theme’s CSS file (usually named theme.css.liquid or styles.css.liquid).
Add the following CSS code to ensure that your text aligns to the left and has appropriate spacing:
/* Custom style for policy pages */
.policy-page-content {
text-align: left;
margin-left: 30px;
margin-right: 30px;
line-height: 1.6; /* Adjust line height for better readability */
}
.policy-page-content p {
margin-bottom: 15px; /* Add space between paragraphs */
}
/* Optional: Add padding to the entire page content */
.page-template .page-content {
padding: 20px;
}
This code will ensure that the text on your policy pages is aligned to the left, with spacing between paragraphs. You can adjust the margin-left, margin-right, and line-height values to suit your design needs.
If your text is contained within a specific class or ID, you may need to modify the .policy-page-content selector accordingly (you can inspect the page in your browser to see which classes are applied).
Let me know if you need further assistance with this!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
In case the theme doesn’t have a dedicated CSS file or if you’re still struggling to find where to paste the code, you can also add the CSS directly into your theme.liquid file, which is typically located under Layout.
Go to the Layout folder in the code editor.
Open theme.liquid
Scroll to the bottom of the file and add the CSS code inside a tag like this:
This will add the CSS to your site globally, ensuring it applies wherever the .policy-page-content class is used. Let me know how it goes!
So, for this, I’ll need access to your store to implement these changes. Feel free to reach out via email so we can discuss more details. If you’re facing any other issues, please let me know—I’m here to help!