How can i change the text alignment in my timeline section to middle center next to an image?
Adding here the relevant url for the section
A user seeks help aligning timeline section text to center-middle next to an image in the Prestige Shopify theme.
Initial Solution:
theme.css file targeting .Timeline__Item.is-selected with align-items: center propertyAdditional Adjustment:
header.Timeline__Header.SectionHeader--center with text-align: centerAlternative Solution:
@media screen and (min-width: 641px) targeting .Timeline__Header with text-align: center !importantResolution:
The issue is resolved successfully. Screenshots were shared throughout to demonstrate the problem and verify the solutions. All CSS modifications are made in the theme’s stylesheet at the bottom of the file.
How can i change the text alignment in my timeline section to middle center next to an image?
Adding here the relevant url for the section
Hi, @yoavkroll
Greetings from the Store Watchers Support Team! Happy to help you today.
Please share your issue with screenshot.
Let me know If need further assistance
Regards,
Store Watchers Support Team
.Timeline__Item.is-selected {
align-items: center;
}
looks good,
If I want to center the text as well is it possible?
header.Timeline__Header.SectionHeader--center {
text-align: center;
}
Let me know If need further assistance
Regards,
Wholesale Helper Support Team
Hi @yoavkroll
Check this one.
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 “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media screen and (min-width: 641px){
.Timeline__Header {
text-align: center !important;
}
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
thank you very much it all works