Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attempting all-css layout, having trouble cleaning up boxes and categories


riot

Recommended Posts

Hi everyone, I'm working on a redesign of an existing site and I have a few obstacles to overcome. The biggest problems I'm having right now is cleaning out all the <table>, <tr>, and <td> tags generated by the code for boxes and infoboxes. That and I'd like to use <ul><li> for the categories instead of nbsp; ->

 

I have categories.php almost where I want it, the code generate spits out nbsp;nbsp; between the <li>'s when there is a subcategory on.

 

boxes.php on the other hand I have no clue where to start! I don't need any table elements for boxes, just an <h3> for the title and thats it. Any help and I would appreciate it, I've tried a few contributions and read through the design basics thread with no luck >_<

Link to comment
Share on other sites

Hi everyone, I'm working on a redesign of an existing site and I have a few obstacles to overcome. The biggest problems I'm having right now is cleaning out all the <table>, <tr>, and <td> tags generated by the code for boxes and infoboxes. That and I'd like to use <ul><li> for the categories instead of nbsp; ->

 

I have categories.php almost where I want it, the code generate spits out nbsp;nbsp; between the <li>'s when there is a subcategory on.

 

boxes.php on the other hand I have no clue where to start! I don't need any table elements for boxes, just an <h3> for the title and thats it. Any help and I would appreciate it, I've tried a few contributions and read through the design basics thread with no luck >_<

 

Edit: I meant to include links to the dev site,

Here is the store I'm working on link to dev site

Here is an image of what I hope to achieve link to image

Link to comment
Share on other sites

Hi everyone, I'm working on a redesign of an existing site and I have a few obstacles to overcome. The biggest problems I'm having right now is cleaning out all the <table>, <tr>, and <td> tags generated by the code for boxes and infoboxes. That and I'd like to use <ul><li> for the categories instead of nbsp; ->

 

I have categories.php almost where I want it, the code generate spits out nbsp;nbsp; between the <li>'s when there is a subcategory on.

 

boxes.php on the other hand I have no clue where to start! I don't need any table elements for boxes, just an <h3> for the title and thats it. Any help and I would appreciate it, I've tried a few contributions and read through the design basics thread with no luck >_<

Have you tried the following contribution that will convert the categories.php file into a nested unordered list?

 

http://www.oscommerce.com/community/contributions,4201

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

No I haven't tried that submission, there were a few that did the same thing, but this seems a lot cleaner. Also, I didn't really want to do the flyouts, but I think I might. Thanks for the help, I think it will turn out nice.

 

Do you know of a submission that cleans up the boxes?

Edited by riot
Link to comment
Share on other sites

/includes/classes/boxes.php is where you need to rearrange the coding to create better boxes.

 

Right, I just can't make heads or tails of it. I need to simplify it a lot as I don't need any of the corner images or tables

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...