Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / CSS questions for buttons, and resizing

CSS questions for buttons, and resizing

Views: 947

Results 1 to 6 of 6
10 Jul 2016, 12:42 PM
#1
amethyst_fairy avatar

amethyst_fairy

Zen Follower

Join Date:
Feb 2016
Location:
Salem, NH
Posts:
103
Plugin Contributions:
0

CSS questions for buttons, and resizing

Bare with me still new and learning.

Hw do I program css for missing buttons such show all products

My other questions are how do I resize css buttons so sold out button isn't so huge.

http://www.thedragonskeep.net

Thanks
Sandria

13 Jul 2016, 4:38 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,796
Plugin Contributions:
15

Re: CSS questions for buttons, and resizing

It appears you have some added mod that is missing a define, a definition file, or the define has been incorrectly done.
Please hit reply and answer as many of the posting tips as possible.

13 Jul 2016, 10:57 AM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: CSS questions for buttons, and resizing

While answering the question of dbltoe is important (and as a new zenner should become habit with every post about an issue experienced), on a pc, pressing f12 should provide some form of a debugging tool to review and locally/temporarily modify css related characteristics.

31 Jul 2016, 2:30 PM
#4
amethyst_fairy avatar

amethyst_fairy

Zen Follower

Join Date:
Feb 2016
Location:
Salem, NH
Posts:
103
Plugin Contributions:
0

Re: CSS questions for buttons, and resizing

So it appears when Anne made stirling grand template she left out a couple css buttons for show_all and for show_page_view

How would I add these? I am very new to css. Now some very basic html but that is it :-)

**

  • CSS Buttons Stylesheet
  • Thanks to paulm for much of the content of the CSS buttons code
  • @package templateSystem
  • @copyright Copyright 2003-2005 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: stylesheet_css_buttons.css 2765 2006-01-01 21:15:45Z birdbrain $
    */

.cssButton, .cssButtonHover, .more-info {width:20em;background-color:#1d1d1e;color:#fffffd;border:1px solid #1d1d1d;text-transform:uppercase;font-size:100%;text-align:center;white-space:nowrap;text-decoration:none;font-weight:normal;padding:0.8em 1.2em;}
.more-info{width:60px;margin:0 auto;}
.more-info:hover{background:#a0a0a0;}
.cssButtonHover {color:#000;background:#a0a0a0;text-decoration: none;border:1px solid #0a0a0a;}
.small_delete, .button_prev, .button_next, .button_search {width: 7em;}
.button_sold_out_sm, .button_sold_out, .button_update_cart, .button_checkout, .button_login {width: 10em;}
.button_return_to_product_list, .button_add_selected {width: 22em;}
.button_in_cart{width: 19em;}
.button_submit {width: 18em;}
.button_update_cart {color: red;}
.button_update_cartHover {color: #000;}
.button_goto_prod_details{}
.button_in_cart{width:150px !important;font-size:120% !important;background:#444;height:40px;}
.button_in_cartHover{background:#a0a0a0;}
.button_add_selected{width:200px !important;}

Thanks
Sandria

31 Jul 2016, 5:34 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,796
Plugin Contributions:
15

Re: CSS questions for buttons, and resizing

Are you sure these were not added by some mod? Just a WAG since you still have not answered the posting tip questions. I don't see any of those buttons in the stylesheets I'm able to look at.

31 Jul 2016, 7:34 PM
#6
amethyst_fairy avatar

amethyst_fairy

Zen Follower

Join Date:
Feb 2016
Location:
Salem, NH
Posts:
103
Plugin Contributions:
0

Re: CSS questions for buttons, and resizing

So running zencart 1.54. Using stirling grand template. The stirling grand template came with some of the css defined looks like just not all of them. I don't see the buttons added either for these so do I just add them do I have add images honestly have done nothing with css before so unsure how to properly add these buttons
Thanks
Sandria