Solved

How to center all the images on a specific page

f22london1
Excursionist
24 1 1

Screenshot 2024-05-09 161320.png

Hi how can I centre all the images on my ' flicks page ', thankyou, Joe - 

 

My website is f22london and the password is : password123

Accepted Solution (1)
pawankumar
Shopify Partner
496 63 90

This is an accepted solution.

@f22london1 
To keep only content to center 
Use this

<style>
 :has([rel="canonical"][href="https://f22london.com/pages/flicks"]) .rte{
  text-align: center;
}
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan

View solution in original post

Replies 3 (3)

pawankumar
Shopify Partner
496 63 90

Hi @f22london1 
Please put this code in theme.liquid before body closing tag

<style>
 :has([rel="canonical"][href="https://f22london.com/pages/flicks"]) .main-page-title, 
 :has([rel="canonical"][href="https://f22london.com/pages/flicks"]) .rte{
  text-align: center;
}
</style>

Please check if it is helpful to you.

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan
f22london1
Excursionist
24 1 1

Hi thanks this works however the title is center now. I want this but only if its possible to center the title of Info/reviews on ' F22 ?? ' 

 

Is this possible

pawankumar
Shopify Partner
496 63 90

This is an accepted solution.

@f22london1 
To keep only content to center 
Use this

<style>
 :has([rel="canonical"][href="https://f22london.com/pages/flicks"]) .rte{
  text-align: center;
}
</style>

Thanks!

- Need a Shopify developer? Chat on WhatsApp +91-9467121281
- Coffee Tip: Buymeacoffee  | Email: thepkpawankumar@gmail.com
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Best regards,
Pawan