Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2010
    Location
    Tallahassee, Florida USA
    Posts
    98
    Plugin Contributions
    0

    Default Ok, point me in the right way on this.....

    I'm using a test site for learning how to tamper with overrides.

    I'm going right out of the boo, "E Start Your Web Store..." and already I'm confused about something.

    As directed by the book, I made a direcdtory called "magic" for my css override template, and put a stylesheet in it.. I copied it from the includes/templates/classic/stylesheet.css.

    The book (p 274-5 "Modifying Stylesheets", if you have a copy) told me: ......."

    To give you an idea of how stylesheets can change your store's look, edit the stylesheet.css and change the following lines accordingly:

    Body{

    background-color: #e5cdf5; (there's a strike through line over this)
    background-color: #000000; (replace with this line)

    and then, below.....

    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    margin: 0em;
    background-color: abbbd3; (there's a strike through line over this)
    background-color: #000000; (replace with this line)
    background-image: url(../images/tile_back.gif); (there's a strike through line over this)
    padding: 0.5em 0.2em
    }

    The above stylesheet changes transform your store's background color and side box header colors to black.

    -------------------------------------------
    Ok, that's impressive. It made alll the side boxes disappear, and changed things to black. Cool.

    Only I want the side boxes. I'll make them come back. But what made them disappear in the first place? Those changes were only for colors. I'll start all over. I put the includes/templates/magic/stylesheet.css page back EXACTLY how it was. I reloaded the page; no changes. Boxes still gone. So I went to the tools/template selection and selected "classic template" again, and reloaded. Boxes came back, that time.

    I want my "test" custom template to be identical to the classic template, and I will slowly change things. Experiment. I'm just trying to back up a little bit, you understand.

    But I cant do that. On my test template, the boxes are still gone.

    I suspect that I'm uploading to a wrong directory, but I don't see how. I'm following the book: includes/templates/classic .

    And I added "magic" to that (at the book's suggestion of a name), so now it's includes/classic/magic . Inside magic is a stylesheet.css I'm messing with. Which is a copy from classic.

    Now, I forgot to mention that there's a custom directory in there, too, as I added a Better-together cross sell module, but that shouldn't have any effect, right? I mean, I specified "magic" as my default template in the tools section of admin.......

    So, bottom line, why can't I return to where I was? The only way I can do that is by specifying "classic default" as my template. I simply want to make Magic identical to classic default, before I tamper with it.

  2. #2
    Join Date
    Apr 2010
    Location
    Tallahassee, Florida USA
    Posts
    98
    Plugin Contributions
    0

    Default Re: Ok, point me in the right way on this.....

    I know it's something right in front of me, that I'm missing. If someone could just point that out to me, I would really appreciate it.

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

    Default Re: Ok, point me in the right way on this.....

    When you switched to your custom template in admin, did you then go to Layout Boxes Controller ansd click 'Reset' ?

  4. #4
    Join Date
    Apr 2010
    Location
    Tallahassee, Florida USA
    Posts
    98
    Plugin Contributions
    0

    Default That fixed it! I'm "pointed," sort of..........

    That was it!

    As with a jillion other things, the book makes no mention whatsoever of this step.

    Thank you so much. I couldn't figure out why a color change on CSS
    would affect sideboxes. In fact, I still don't understand why.

    But at least I can see some stuff with changes, and I can go from here. Thanks again!!!



  5. #5
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: Ok, point me in the right way on this.....

    Hi JDog21, sorry for the error in the book.

    The error you mentioned can be found in the Errata section on our site. Do refer to that section for other corrections to the book's contents as well.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  6. #6
    Join Date
    Apr 2010
    Location
    Tallahassee, Florida USA
    Posts
    98
    Plugin Contributions
    0

    Default Re: Ok, point me in the right way on this.....

    Thank you! I'm following along, and the book is giving me some structure, so it's definitely a big help.

    The book helps me to ask semi-intelligent questions when I come in here, too...

 

 

Similar Threads

  1. v150 Just to be Sure: is this the right way to do Image Prep?
    By bcolby99 in forum Templates, Stylesheets, Page Layout
    Replies: 27
    Last Post: 5 Oct 2012, 06:16 AM
  2. point me the way
    By earthlyinfo in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 28 Sep 2008, 07:06 AM
  3. Please point me in the right direction!
    By Three Sisters in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Dec 2006, 03:46 AM
  4. Point me in the right direction to fix.
    By jim7567g in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 12 Nov 2006, 04:40 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