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
  #21  
Old 08-03-2012, 08:07 AM
Matt Ecwid's Avatar
Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default


Quote:
Originally Posted by Koh Samui View Post
Hi Matvey,

i'm afraid I spoke to soon, I recently visited my other pages and noticed everything moved up on all pages.

Please can you advise on my above post pasted below.

Many thanks,

Paul




[ecwid_script][ecwid_script] [ecwid_minicart] *[ecwid_categories]**[ecwid_searchbox] *[ecwid_productbrowser]

 

<script type="text/javascript">// <![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[
// < ![CDATA[ Ecwid.OnPageLoaded.add(function(page) { skimlinks(); });
// ]]></script>

<script type="text/javascript">// <![CDATA[
// < ![CDATA[
// < ![CDATA[ Ecwid.OnPageLoad.add(function(page) { jQuery('div.ecwid-SearchPanel').toggle(page.type != 'PRODUCT'); })
// ]]></script>

<script type="text/javascript">// <![CDATA[
// < ![CDATA[ ecwidMessages = { "CategoryViewOrder.date":"Latest" }
// ]]></script>
Hello,

The #1 and #2 CSS rules set styles for the whole site, that's why their changing can affect another pages. If you want add some changes that will be applied to the store page only, you'll need to somehow specify it in the CSS rules.

Now, in order to decrease white space on the store page only, please roll back the changes you've made (revert the padding values). Then, add the following code to either your custom CSS theme in Ecwid or your Wordpress theme's CSS file:
Code:
body#ecwid_body .content_holder {
    padding: 85px;
}

body#ecwid_body .page_content {
    padding-top: 5px;
}
(Please put there the custom padding values you previously used)


As for the #3 recommendation, you can inspect your store page code and remove extra spacing elements (if any) this way:

- Login to your WP Admin as administrator
- Go to Pages, find the store page and click 'Edit'
- Switch the editor into HTML mode (the grey tab on top) and in the source of the page find and remove needless empty elements. They may look like '<p></p>' or '<div></div>' (they don't contain any data). From what you posted above, I think your store page code should look like this at the end:
Code:
[ecwid_script] [ecwid_minicart] [ecwid_categories] [ecwid_searchbox] [ecwid_productbrowser]
<script type="text/javascript">
  Ecwid.OnPageLoaded.add(function(page) { skimlinks(); });
</script>
<script type="text/javascript">
  Ecwid.OnPageLoad.add(function(page) { jQuery('div.ecwid-SearchPanel').toggle(page.type != 'PRODUCT'); })
</script>
<script type="text/javascript">
  ecwidMessages = { "CategoryViewOrder.date":"Latest" }
</script>
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
The Following User Says Thank You to Matt Ecwid For This Useful Post:
Koh Samui (08-03-2012)
  #22  
Old 08-03-2012, 09:50 AM
Koh Samui's Avatar
Koh Samui Koh Samui is offline
Senior Member
 
Join Date: Aug 2011
Posts: 216
Default

Hi Matvey,

Thank you so much for your excellent advice and support!

Ecwid ecommerce shopping platform is so perfect, easily customizable and so easy to use.

What makes it such a pleasure to work with, is the support is super fast and always finds the best solution for you!

Thank you,

Paul
The Following User Says Thank You to Koh Samui For This Useful Post:
Matt Ecwid (08-03-2012)
  #23  
Old 08-03-2012, 09:54 AM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 4,947
Default

Thank you for your kind words, Paul!
__________________
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
centralise, grid, whitespace

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 04:03 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.