The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 03-25-2014, 03:54 PM
A Nicol's Avatar
A Nicol A Nicol is offline
 
Join Date: Apr 2013
Posts: 8
Default How to center upload files button in single product widget?

Dear Ecwid Team,

Could you let me know the css/magic words to change the positioning of (only) the file upload button in the single product widget? It seems to be aligned left at the moment. I'd like to center it in the widget panel.




Thank you
  #2  
Old 03-30-2014, 04:04 PM
A Nicol's Avatar
A Nicol A Nicol is offline
 
Join Date: Apr 2013
Posts: 8
Default

Solved:

I was able to change the positioning of the upload button by adding the css:

div.ecwid-productBrowser-details-optionUploadFiles-button {
padding-left: 85px !important;
}
The Following User Says Thank You to A Nicol For This Useful Post:
Vlad_R (03-30-2014)
  #3  
Old 03-30-2014, 07:47 PM
Vlad_R's Avatar
Vlad_R Vlad_R is offline
Senior Member
 
Join Date: Feb 2014
Location: Ul
Posts: 114
Default

Hello,
Thanks for the question. Great that you found the solution!

Still we recommend you and other users using this code in your Ecwid Control Panel -> System Settings -> Design:

Code:
div.ecwid-productBrowser-details-optionUploadFiles-button table.ecwid-fieldEnvelope {margin: 0 auto;}
Do not forget to save the settings.

As a result when you reload the page with your Ecwid store the button “Upload files” will be set exactly in the center of panel.

You can also read this article about changing CSS in Ecwid.

I’ll be happy to answer your questions.
The Following User Says Thank You to Vlad_R For This Useful Post:
A Nicol (03-30-2014)
  #4  
Old 03-30-2014, 07:58 PM
A Nicol's Avatar
A Nicol A Nicol is offline
 
Join Date: Apr 2013
Posts: 8
Default

Thanks Vlad - I'd missed this method of changing the CSS somehow. I'll use your suggestion.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
file upload, single product widget, upload files

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:00 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.