Results 1 to 8 of 8
  1. #1
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    help question convert html template to php with css?

    Hi,

    I try to convert a html template into ezn 1.3.7 is very difficult for me .I've tried
    to customize the css file but without good results

    Look this

    from this template http://www.dakana.com/

    to this new zen 1.3.7 http://www.dakana.com/site/

    Can you give me some advise for this convertion ( css , header, picture logo, ...) big chalenge !!

    Thanks in advance




    Have a nice day

    Chris

    Ps (I've tried to export the html to the php but without result)
    Zen cart or nothing !!

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: convert html template to php with css?

    It looks pretty good! What exactly did you want to do?

    You're not really importing the html into ZC. The php will generate the html with help from the stylesheet (css). You've made an excellent start.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: convert html template to php with css?

    You can do a vertical slice along the left edge and then the right edge of your design and create an image with these slices to be used as the background image for the body in the stylesheet.css. Additional slices for the mainWrapper and the headerWrapper will be needed, again as background images.

    Create a map for the tabs and this is placed into the tpl_header.php file and you should be 90% there after this
    Zen-Venom Get Bitten

  4. #4
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    css problem Re: convert html template to php with css?

    Thanks for your replys

    I looks difficult I would like the same logo in the same place !!! for the tabs I will copy this in the categories box header not so easy but I will try ...

    but the logo and contact logo ??? I'm not sure what do you meant kobra with "do a vertical slice along the left edge and then the right edge of your design"

    sorry for my poor css skills

    could you give me some help for this ?

    after that I will put this one in contribute template (not same colors)

    Have a nice day

    Chris
    Zen cart or nothing !!

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: convert html template to php with css?

    I'm not sure what do you meant kobra with "do a vertical slice along the left edge and then the right edge of your design"
    Try Google for "image slice" and read about this procedure.

    In your design there are basically 3 major elements:
    1. The body background - that part around your main orange centered rectangle
    2. The centered rectangle consists of 2 parts the header section or headerWrapper
    3. The other is what is below the header or the mainWrapper

    Now parts of your design overlap these elements and it is this line between these elements where you will have to cut or slice your images and attach them to the element as a background image
    the basic code for the header & main is below
    Code:
    #mainWrapper {
    	float: left;
    	background-image: url(../images/your_image.jpg);
    	background-repeat: no-repeat;
    	text-align: left;
    	width: 750px;
    	vertical-align: top;
    	border: 1px solid #9a9a9a;
    	}
    
    #headerWrapper{
    	background-image: url(../images/your_image.jpg);
    	background-repeat: no-repeat;
    	background-color: #ffffff;
    	height:75px;
    	}
    Zen-Venom Get Bitten

  6. #6
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    css problem Re: convert html template to php with css?

    Haaa ok it's more clear

    I must to put a background like in attach

    is it possible to make the logo bigger than the 750 px from the main page like
    in the old site http://www.dakana.com

    and how can I move the NavMainWrapper under the logo ?

    Thanks in advance

    Have a nice day

    Chris
    Attached Images Attached Images  
    Zen cart or nothing !!

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: convert html template to php with css?

    is it possible to make the logo bigger than the 750 px from the main page
    Not really, and why you have to cut/slice this image to separate the left and right pieces that are wider than the center of 750px
    how can I move the NavMainWrapper under the logo ?
    You can re-order the complete block - bof tho eof - in a copy of the tpl_header.php file that you will place into your template
    Zen-Venom Get Bitten

  8. #8
    Join Date
    May 2005
    Location
    Brussels belgium
    Posts
    203
    Plugin Contributions
    0

    help question Re: convert html template to php with css?

    Could you give my a example of this ?

    with /images/logo.jpg

    thanks in advance

    Chris
    Zen cart or nothing !!

 

 

Similar Threads

  1. Brand new. How do I convert my new .html files to a template?
    By easyonthetush in forum General Questions
    Replies: 9
    Last Post: 31 Aug 2012, 12:52 PM
  2. Custom template from HTML, CSS
    By tejas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jul 2009, 10:15 AM
  3. HTML/CSS Template
    By dvdd127 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Dec 2008, 09:30 PM
  4. tpl_header.php file additions with html - wheres the css ?
    By kitchen table legs in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 21 Sep 2007, 08:09 AM
  5. Table-based HTML guy needs help with CSS/PHP
    By kaylala in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Sep 2007, 07:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR