PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, May 9, 2022

[FIXED] How Do I Center Product Title And Pricing Info On My Shopify Website?

 May 09, 2022     center, css, product, shopify, title     No comments   

Issue

I'm trying to figure out how to center the title of the product I'm selling on my website (Safe Guard Lenz) as well as center the pricing details that's under the product title as well. I need them centered for both mobile and desktop.

It's located at the bottom of the home page and on the product page itself. Ideally would want it centered for both.

Any help to achieve this would be greatly appreciated as I've been looking for a solution for this online and can't seem to have any success.

My website is safeguardlenz.com and the password is: Bebe

Thank you!


Solution

You can use style sth like this.

.product-single__title{
  text-align: center;
}

.product__price, #automizely_reviews_product_detail_title_star_widget{
  width: fit-content;
  margin: auto;
}

enter image description here

And this is the style for homepage value.

.price__pricing-group {
  margin: auto;
}


Answered By - Oscar Cardoso Garcia
Answer Checked By - Marie Seifert (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing