i want to decrease the wi

i want to decrease the wi

learningdesign
Shopify Partner
193 1 21

i want to decrease the width but its not working

learningdesign_0-1725362287871.png

I am using this css

/* General styles for all devices */
.pxFormGenerator {
padding: 50px; /* Maintain your existing padding */
max-width: 95%; /* Slightly increase the width for mobile */
margin: 0 auto; /* Center the form */
box-sizing: border-box; /* Include padding in width calculations */
} /* Adjust styles for desktop screens (768px and up) */
@media (min-width: 768px) {
.pxFormGenerator {
max-width: 200px !important; /* Decrease the max-width for desktop and enforce it */
}
} /* */
@media (min-width: 1200px) {
.pxFormGenerator {
max-width: 200px !important; /* */
}
}

website link :   ge tlitledlighting .com

 



Replies 11 (11)

Rahul_dhiman
Shopify Partner
464 94 97

Hello @learningdesign 
Go to online store ----> themes ----> actions ----> edit code ---->assets ---->custom-neons.css
add this code at the end of the file.

#shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {
max-width: 60% !important;
}

result
4.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167
learningdesign
Shopify Partner
193 1 21

@Rahul_dhiman  there is no custom neon css    i have paste the code here please check in image its fine in desktop but now very bad in mobile

learningdesign_0-1725364003959.png

 

Tech_Coding
Shopify Partner
162 47 47

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 768px){
   #shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {
        max-width: 60% !important;
   }
}
@media screen and (max-width: 767px){
    #shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {
        max-width: 100% !important;
     }
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
learningdesign
Shopify Partner
193 1 21

@Tech_Coding    sir its not in the middle now can you please send me another code

learningdesign_0-1725364565868.png

 

Tech_Coding
Shopify Partner
162 47 47

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 768px){
   #shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {
        max-width: 60% !important;

        margin: auto !important;

  }
}
@media screen and (max-width: 767px){
    #shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {
        max-width: 100% !important;

        margin: auto !important;
     }
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
Rahul_dhiman
Shopify Partner
464 94 97

add this code below the custom css code

@media screen and (max-width: 749px) {
#shopify-section-template--17499846246578__custom_liquid_PrBDmg .pxFormGenerator {  
    max-width: 90% !important;
}
}

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167
learningdesign
Shopify Partner
193 1 21

@Rahul_dhiman   did not worked

learningdesign_0-1725365021552.png

 

Rahul_dhiman
Shopify Partner
464 94 97

You were suppose to add this code below the previous code.
but any how it seems that the issue is solved for both desktop and mobile.

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167

Made4uo-Ribe
Shopify Partner
7762 1878 2299

Hi @learningdesign 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media only screen and (min-width: 749px){
div#wizard-validation-form {
    max-width: 90%;
    margin: auto;
}
}
@media only screen and (max-width: 749px){
    div#wizard-validation-form {
    max-width: 95%;
    margin: auto;
}
}

 

And Save. 

result:

Made4uoRibe_0-1725364024283.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
learningdesign
Shopify Partner
193 1 21

@Made4uo-Ribe   did not worked

Made4uo-Ribe
Shopify Partner
7762 1878 2299

Try to add !important. Like this. 

 

@media only screen and (min-width: 749px){
div#wizard-validation-form {
    max-width: 90% !important;
    margin: auto !important;
}
}
@media only screen and (max-width: 749px){
    div#wizard-validation-form {
    max-width: 95% !important;
    margin: auto !important;
}
}

 

  And Save. 

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.