Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    css problem Different CSS for EZ Pages

    what do I name the CSS file for it to load a different CSS for EZ Pages?

  2. #2
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Different CSS for EZ Pages

    Ok -- I GOT IT, finally..

    Code:
    <div id="headbody" class="ezpage_bk<?php echo $_GET['id']; ?>">
    I added the ezpages id to the end of the class name... So now I can modify it's content by calling ezpage_bk1, ezpage_bk2, on the stylesheet and making all the necessary modifications.

    Cheers

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Different CSS for EZ Pages

    Quote Originally Posted by markpr9 View Post
    Ok -- I GOT IT, finally..

    Code:
    <div id="headbody" class="ezpage_bk<?php echo $_GET['id']; ?>">
    I added the ezpages id to the end of the class name... So now I can modify it's content by calling ezpage_bk1, ezpage_bk2, on the stylesheet and making all the necessary modifications.

    Cheers
    You might want to check this MOD from the downloads section also.

    It modifies the the header file to allow the loading of ezpage CSS stylesheets on an individual basis. either by chapter or ezpage ID
    (ezpage_10.css, ezpage_20.css, chapter_1.css)

  4. #4
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Have a Drink Re: Different CSS for EZ Pages

    Wow!! I spent hours looking for a solution like this and nothing came up...

    Thanks, I will use it! It works a lot better then that 'hack' I did.

    Cheers

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Different CSS for EZ Pages

    Quote Originally Posted by markpr9 View Post
    Wow!! I spent hours looking for a solution like this and nothing came up...

    Thanks, I will use it! It works a lot better then that 'hack' I did.

    Cheers
    Glad to help

 

 

Similar Threads

  1. Can I use different css for different languages?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Apr 2012, 07:27 AM
  2. Different CSS for Different Pages, and Products
    By markpr9 in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 17 Jun 2010, 11:31 PM
  3. how to get different header for different pages? - Without CSS
    By markpr9 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Apr 2009, 04:34 PM

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