an ASP.NET Open Source CMS & eCommerce platform
Search:
CSS
Last Post 4/2/2010 2:13:12 PM By 4safety. 6 replies.
4/2/2010 11:57:09 AM
4safety
Posts: 124
Joined: 5/11/2009
CSS
I am trying to replace the "body" section in the CSS template but it isn't changing in the default.css document
 
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">body {

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">background-color:#FFFFEE;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">color:#003300;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">font-family:Verdana,Arial,Helvetica,sans-serif;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">font-size:11px;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">margin:0 auto;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">padding:0;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">width:1000px;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">}

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">Default.css (line 1430)

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; min-height: 14.0px"> 

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">body {

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">background-color:#FFFFFF;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">color:#32434A;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">font-family:Verdana,Arial,Helvetica,sans-serif;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">font-size:12px;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">margin:0;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">padding:0;

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times">}

 
If i delete the one from my templates shouldnt it remove from the file?
 
thanks
4/2/2010 12:09:00 PM
4safety
Posts: 124
Joined: 5/11/2009
Re: CSS
 

 

4/2/2010 12:40:47 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: CSS
If you don't check the box "Replace the predefined base theme template?", it will just append what you enter to the bottom of the existing file. You can take a look at the css file that is actually generated at http://[your site]/App_Themes/[your site short name]/Default.css . There are two body sections in the css file. Browsers merge these two and the latter one will replace the prior one if they are specifying the same style.
 
If you do want to start from fresh, you can check the box "Replace the predefined base theme template?". It will just use whatever you enter below. There are a lot of styles that are required to render the site successfully. I would suggest you download the original one and paste there. And then start changing the style.
DotShoppingCart Staff
4/2/2010 1:26:38 PM
4safety
Posts: 124
Joined: 5/11/2009
Re: CSS
 i copied and replaced every thing and now my " GO" button on the search is gone?
4/2/2010 1:29:20 PM
4safety
Posts: 124
Joined: 5/11/2009
Re: CSS
Actually all of the images are not working that came with the site
 
4/2/2010 2:03:01 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: CSS
Image buttons come from Default.skin file. I filled out the Default.skin file for you. Your site loosk good to me now.
DotShoppingCart Staff
4/2/2010 2:13:12 PM
4safety
Posts: 124
Joined: 5/11/2009
Re: CSS
 It must have selected both Default.css and Default.skin when selecting replace predefined template
 
something to look at.
 
thanks