Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Convert to CSS - one piece at a time

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-29-2008, 06:10 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: Convert to CSS - one piece at a time

Currently I am finishing my site redesign with version 4.1.10 and I do want to make these CSS changes but get stuck...

When looking at the 4.1.10 skin1 CSS file there is no .DialogTitle and .DialogBox but I what I can locate is:

TD.DialogTitle, TD.DialogTitle .Lbl {
COLOR: #000;
FONT-WEIGHT: bold;
FONT-SIZE: 15px;
/* BACKGROUND-IMAGE: url(images/dialog_bg_n.gif);
BACKGROUND-COLOR: #44AADA;*/
VERTICAL-ALIGN: bottom;
TEXT-ALIGN: left;
}

and these two:

TABLE.DialogBox {
WIDTH: 100%;
HEIGHT: 100%;
VERTICAL-ALIGN: top;
}
TD.DialogBox {

TEXT-ALIGN: left;
/*PADDING: 10px;*/
}

So which ones am I supposed to change?

Another question related to this topic: Now I have H1 tags by surrounding the title in dialog.tpl.

How can I implement the H1 tags when the original contents are beeing replaced by the div classes?

Thanks in advance for some help with this..!
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #12  
Old 05-29-2008, 06:21 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Convert to CSS - one piece at a time

They don't exist by default, you need to create them per my post above

Not sure I follow you with the h1 tags?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 05-29-2008, 06:46 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: Convert to CSS - one piece at a time

Quote:
Originally Posted by balinor
They don't exist by default, you need to create them per my post above


Ah... So I will create them then


About the H1 Tags: In my live site I am using dialog.tpl with an H1 tag and dialog_no_h1.tpl for the parts where I don't want an H1 tag. When I would follow your post, the contents of the original dialog.tpl would be replaced by the div classes, right? So how do I add the H1 tags to show on the product title?
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #14  
Old 05-29-2008, 06:51 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Convert to CSS - one piece at a time

Just put the <h1> tags between the div tags:

<div class="DialogTitle"><h1 class="whateveryourclassis">{$title}</h1></div>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #15  
Old 05-29-2008, 06:57 AM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: Convert to CSS - one piece at a time

Many thanks for your (as always) quick reply!
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #16  
Old 05-30-2008, 09:04 AM
 
happyscott happyscott is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 71
 

Default Re: Convert to CSS - one piece at a time

did this on mine and worked very well.

Can we have some more please?
__________________
version 5.3.1 on dedicated server.
Reply With Quote
  #17  
Old 05-30-2008, 01:10 PM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default Re: Convert to CSS - one piece at a time

Oh Yes! More CSS please.... :P A step by step manual "convert to CSS" as sticky would be an ultimate superthread
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote
  #18  
Old 06-10-2008, 08:52 AM
 
happyscott happyscott is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 71
 

Default Re: Convert to CSS - one piece at a time

anyone got any more ideas on this one?
__________________
version 5.3.1 on dedicated server.
Reply With Quote
  #19  
Old 06-10-2008, 10:08 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Convert to CSS - one piece at a time

I'll post some more when I have some free time..
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #20  
Old 06-12-2008, 06:03 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default Re: Convert to CSS - one piece at a time

Great information and I was able to make my head.tpl and other tpls related to the head.tpl all css. Then I ran into a problem. The body wanted to stay in the header and I could not get the body of the content below the header.

Do you mind sharing how to get the body below the header?
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:57 AM.

   

 
X-Cart forums © 2001-2020