Re: How to center the header navigation menu text on Empire theme?

How to center the header navigation menu text on Empire theme?

pnsempire
Tourist
13 0 4

I want to center the text on the header menu, website is  
https://poolcareshop.com.au/ 

Same to the example below

 

Screenshot.png

Replies 12 (12)

Dan-From-Ryviu
Shopify Partner
11326 2221 2391

Hi @pnsempire 

You can do that by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

@media (min-width: 990px) {
body .site-navigation { justify-content: center; }
}

Screenshot 2025-01-02 at 09.29.07.png

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

pnsempire
Tourist
13 0 4

What do i replace it with?

Dan-From-Ryviu
Shopify Partner
11326 2221 2391

Just add code to Custom CSS in Online Store > Themes > Customize > Theme settings.

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

pnsempire
Tourist
13 0 4

there are many sections though? 

Can you please advise where I can place the code? Do I go to "theme.css" ?

Dan-From-Ryviu
Shopify Partner
11326 2221 2391

You can add to theme.css at very bottom of file. 

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

pnsempire
Tourist
13 0 4

I can't see "custom css" also do i place it at the bottom of the file? do i replace anything?

Dan-From-Ryviu
Shopify Partner
11326 2221 2391

Custom CSS can be seen in Online Store > Themes > Customize > Theme settings Screenshot 2025-01-02 at 09.42.40.png

- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify

Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

LizHoang
Shopify Partner
1250 158 196

Hi @pnsempire, thanks for your sharing.

 

To address the issue, please help me go to your Online store -> Theme -> Customize -> Theme settings -> Custom CSS and insert the following custom CSS code:

 

nav.site-navigation {
    justify-content: center;
}

 

I hope my solution is helpful to you.

 

Liz

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program

PageFly-Richard
Shopify Partner
4972 1112 1795

This is Richard from PageFly - Shopify Page Builder App

 

Hi @pnsempire   Please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
  @media screen and (min-width: 1024px){
    .site-navigation{
       display: flex !important;
       justify-content: center !important;
     }
  }
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

BSSCommerce-B2B
Shopify Partner
1972 564 566

@pnsempire,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head>

<style>
@media (min-width: 1024px) {
    nav.site-navigation {
      justify-content: center!important;
    }
}
</style>

Result:

BSSCommerceB2B_0-1735785612595.png

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

DaisyVo
Shopify Partner
4275 469 561

Hi @pnsempire 

 

I hope you are well. You can follow our instructions below:


1/ Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
2/ From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
3/ Copy the code below and paste it there

 

Here is the code for Step 3:

 

@media screen and (min-width: 769px){
nav.site-navigation {
    justify-content: center !important;
}
}

 

image (1).png


Please let me know if it works. Thank you!

 

Best,
Daisy - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

websensepro
Shopify Partner
1869 220 266

Hi @pnsempire 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

@media(min-width:1024px){
.site-navigation {
    display: flex;
    justify-content: center !important;
}
}

Result:

websensepro_0-1735804499088.png

If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!

 

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP