Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    6
    Plugin Contributions
    0

    Default Format define pages

    I am using Zen Cart 1.3.8a and am trying to set up define page 2 and 3.

    I have most of the formating right but I can't get a margin at the beginning or end of the line. The format I used on the main page isn't working on page 2 and 3 (FAQ and Testimonials)

    <STYLE TYPE="text/css">
    <!--
    .indented
    {
    padding-left: 150pt;
    padding-right: 200pt;
    }
    -->
    </STYLE>

    I don't know very much about html and this was something I copied and pasted from the web but it seems to work, just not on the other pages.

    My site is www.babychat.com.au

    Any ideas??

    Tracey

  2. #2
    Join Date
    Apr 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: Format define pages

    Design what you want it to look like in a html table, and copy and paste the code in the codeview side of the define pages editor.
    Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
    Currently developing: http://www.printdealz.com
    Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Format define pages

    I'd recommend you wrap it a <div> with its own id, and style it in your template's stylesheet. Much neater than injecting stying in every file. I'd also use px or em rather than pt.

  4. #4
    Join Date
    Jun 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Format define pages

    Thank you both for your input.


    Quote Originally Posted by stevesh View Post
    I'd recommend you wrap it a <div> with its own id, and style it in your template's stylesheet. Much neater than injecting stying in every file. I'd also use px or em rather than pt.
    I am very new to all this and I don't know what this means. Could you explain it any further?

    Thanks,

    Tracey

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    email error Re: Format define pages

    There are a lot of really good CSS tutorials on the Web, but this particular case would work like this:

    Say you have a few blocks of text on your main page that you want to have different left margins, say 25px, 50px and 75px. Rather than going though the whole <style>, etc. thing for each block, you would just do the following:

    <div id="firstblock">The first block of text </div>

    <div id="secondblock">The second block of text </div>

    <div id="thirdblock">The third block of text </div>

    Then, in your template's stylesheet.css, you would add:

    #firstblock {margin-left:25px;}

    #secondblock {margin-left:50px}

    #thirdblock {margin-left:75px;}

    This also allows you to assign the same id to future blocks which you want to have the same margin.

    Don't let this stuff intimidate you - it's pretty easy one you grasp the concept, and, well, I can do it, so almost anybody should be able to .

  6. #6
    Join Date
    Jun 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Format define pages

    Thanks for that Stevsh.

    It worked perfectly!

 

 

Similar Threads

  1. v150 How do I turn on HTML or Rich Text Format in define pages editor?
    By coucho in forum Basic Configuration
    Replies: 3
    Last Post: 8 Jan 2014, 01:15 PM
  2. Define Define Pages / Information pages Manager needed
    By thunderesl in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jun 2010, 02:42 PM
  3. Define Pages - How to define brand new page
    By hutch32804 in forum Customization from the Admin
    Replies: 4
    Last Post: 31 Oct 2009, 01:39 PM
  4. Firefox format stripped on cart pages and category pages of admin
    By GimpyMagoo in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 16 Aug 2008, 01:09 AM
  5. index_default & define pages(4+ define pages on frontpage?)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2006, 07:38 PM

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