Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Can somebody please help me, and tell me how i could add buttons to one of the boxes on the left hand side, the category box, so instead of plain text i can use a button that i have created.

 

Thanks in advance

Posted

Hi

 

i want to replace for example where it says hardware, in plain text instead of this i want to put a button there

 

Thanks

Posted

You can not replace category names with buttons, for the simple reason that the category names as shown in the category box are coming from the database and change dynamically as you do changes in the database via your admin. Buttons are images, and they can not be created dynamically in the same way.

 

What you probably want is, to show a listing in the category box, where the category names look like being buttons. In real they are not. It is plain text on a background, so it looks like a button. To do this you need to apply new css rules to the box categories.php and then tweak them in your stylesheet.css.

 

A recommendation is to install "dynamenu", where the hard job is done already, the only thing you would need to do is to make some nice background images to imitate the look of buttons. Search for it in the addons, it will give you even more features and control over the category menu

Posted

You can not replace category names with buttons, for the simple reason that the category names as shown in the category box are coming from the database and change dynamically as you do changes in the database via your admin. Buttons are images, and they can not be created dynamically in the same way.

 

What you probably want is, to show a listing in the category box, where the category names look like being buttons. In real they are not. It is plain text on a background, so it looks like a button. To do this you need to apply new css rules to the box categories.php and then tweak them in your stylesheet.css.

 

A recommendation is to install "dynamenu", where the hard job is done already, the only thing you would need to do is to make some nice background images to imitate the look of buttons. Search for it in the addons, it will give you even more features and control over the category menu

Thank you very much for your help

much appreciated :-)

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...