Sidebox Text

Locked

Views: 2,300

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
3 Dec 2008, 4:13 AM
#1
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Sidebox Text

Hey All,

I have been trying to change the font style of my information sidebox to match my categories sidebox. The categories sidebox is currently bold and i would also like the information sidebox to be bold. I have tried it with web developer but im pulling my hair out as its not working... my site is https://www.truwater.com.au.

Can anyone please assist?

Thanks in advance!

3 Dec 2008, 4:34 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sidebox Text

gee38l:

Hey All,

I have been trying to change the font style of my information sidebox to match my categories sidebox. The categories sidebox is currently bold and i would also like the information sidebox to be bold. I have tried it with web developer but im pulling my hair out as its not working... my site is https://www.truwater.com.au.

Can anyone please assist?

Thanks in advance!

open your stylesheet.css (includes/templates/YOUR_TEMPLATE/css/stylesheet.css)

find the following declaration and the add the highlighted portion:

.sideBoxContent {
font-weight: bold;
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

3 Dec 2008, 5:36 AM
#3
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

clydejones:

open your stylesheet.css (includes/templates/YOUR_TEMPLATE/css/stylesheet.css)

find the following declaration and the add the highlighted portion:

.sideBoxContent {
font-weight: bold;
}

Thanks for the reply 5 minutes after i posted i actually figured it out....

One problem the shopping cart sidebox text didnt change... :S

3 Dec 2008, 5:39 AM
#4
antpez avatar

antpez

New Zenner

Join Date:
Oct 2007
Posts:
34
Plugin Contributions:
0

Re: Sidebox Text

Try this:

#shoppingcartContent{font-weight:bold;}

3 Dec 2008, 5:56 AM
#5
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

Perfect all has been sorted thank you very much

3 Dec 2008, 6:04 AM
#6
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

You wouldnt happen to know how to fix a text spacing error in IE7 which does not occur on mozilla?
If you have a look on my homepage the pricing for new products has a space

3 Dec 2008, 6:30 AM
#7
antpez avatar

antpez

New Zenner

Join Date:
Oct 2007
Posts:
34
Plugin Contributions:
0

Re: Sidebox Text

You can try adding a line-height to these two classes:

.save {
font-size:12px;
font-family:Tahoma;
text-align: center;
color:#636466;
font-weight:bold;
line-height:16px;
}

.norm {
font-size:12px;
font-family:Tahoma;
text-align: center;
color:#0000FF;
font-weight:bold;
line-height:16px;
}

I am on a mac right now and I'd have to restart in windows to test it out. Let me know if that works for you in IE.

3 Dec 2008, 9:51 AM
#8
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

antpez:

You can try adding a line-height to these two classes:

.save {
font-size:12px;
font-family:Tahoma;
text-align: center;
color:#636466;
font-weight:bold;
line-height:16px;
}

.norm {
font-size:12px;
font-family:Tahoma;
text-align: center;
color:#0000FF;
font-weight:bold;
line-height:16px;
}

I am on a mac right now and I'd have to restart in windows to test it out. Let me know if that works for you in IE.

I just tried what u said above and it fixed half of it please have a look

3 Dec 2008, 9:54 AM
#9
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

OK i added another line height to small text and its fixed the gap between the prices but now the bottom our price is to close to the buy/details button....?

3 Dec 2008, 10:30 AM
#10
antpez avatar

antpez

New Zenner

Join Date:
Oct 2007
Posts:
34
Plugin Contributions:
0

Re: Sidebox Text

If you want a quick fix go into this file: /includes/templates/YOUR-TEMPLATE/common/html_header.php

and find the following bit of code:

/**

  • load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
    */

And add this above it:

echo '<!--[if IE]>

<style type="text/css"> .price{margin-bottom:8px;} </style>

<![endif]-->';

/**

  • load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
    */

You can also define an ie-stylesheet there as well, so you could add any fixes you may need for IE to that stylesheet in the future.

I am sure there's other easier ways to fix this, but for now you can get it to work by following those instructions.

3 Dec 2008, 10:57 AM
#11
gee38l avatar

gee38l

Zen Follower

Join Date:
Jul 2008
Posts:
362
Plugin Contributions:
0

Re: Sidebox Text

antpez:

If you want a quick fix go into this file: /includes/templates/YOUR-TEMPLATE/common/html_header.php

and find the following bit of code:

/**

  • load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
    */

And add this above it:

echo '<!--[if IE]>

<style type="text/css"> .price{margin-bottom:8px;} </style>

<![endif]-->';

/**

  • load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza.
    */

You can also define an ie-stylesheet there as well, so you could add any fixes you may need for IE to that stylesheet in the future.

I am sure there's other easier ways to fix this, but for now you can get it to work by following those instructions.

That seem to fix the IE problem thanks so much that has been bugging me for over a week....

3 Dec 2008, 5:40 PM
#12
antpez avatar

antpez

New Zenner

Join Date:
Oct 2007
Posts:
34
Plugin Contributions:
0

Re: Sidebox Text

You're welcome :smile:

10 Dec 2008, 10:07 AM
#13
jgraphics avatar

jgraphics

New Zenner

Join Date:
Oct 2006
Posts:
75
Plugin Contributions:
0

Re: Sidebox Text

I am using the Shopping Cart Sidebox and would like the text that reads "Shopping Cart [more]" to be green instead of white. Only in this particular side box do I need the font color to be green.

10 Dec 2008, 11:14 AM
#14
jgraphics avatar

jgraphics

New Zenner

Join Date:
Oct 2006
Posts:
75
Plugin Contributions:
0

Re: Sidebox Text

Id also like to place two graphics toward the bottom of the shopping cart sidebox that only show up when someone adds an item to their cart. The first small graphic button would read "Checkout" and have a link to begin the checkout process. Also a "Check out with PayPal" graphics button. Basically the same graphics that show up when you view the full page shopping cart page. (only smaller and in the shopping cart sidebox when items are added.)

I recently changed "Display Cart After Adding Product" to false, and this is the reason for the needed edits to the shopping cart sidebox.

No idea how I'd accomplish this. Any help is greatly appreciated.

10 Dec 2008, 11:43 AM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox Text

Add to your stylesheet```
#shoppingcartHeading {color: #00ff00;}

The other requires more concentration than I have right now... time for bed! :)
11 Dec 2008, 11:33 AM
#16
kal avatar

kal

New Zenner

Join Date:
Jun 2008
Posts:
83
Plugin Contributions:
0

Re: Sidebox Text

Sorry for diving into this thread, in all the SIDEBOXES, how do i change the font style to say something like Arial etc? I am using the Gloss Black template and can't figure it out, thanks.

12 Dec 2008, 3:05 AM
#17
jgraphics avatar

jgraphics

New Zenner

Join Date:
Oct 2006
Posts:
75
Plugin Contributions:
0

Re: Sidebox Text

I almost have my side cart just the way I need it.
I need to ad the "PayPal" checkout button below the standard "Checkout" button.

The code to add the standard checkout button is as follows:

$content .= '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>';

What would it be to add the PayPal Checkout button? It would be nice to place the word "OR" between the two checkout buttons as well.

Thanks for any help.

12 Dec 2008, 9:06 AM
#18
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox Text

kal - You would change the font for #navColumnOne and #navColumnTwo, or some of their sub-elements, in your stylesheet. It would be easier to give the best advice with a link to see your site.

JGraphics - You will probably find that code in the Paypal subforum here. To add an "or", just insert it into the HTML at the end of the first anchor:```php
$content .= '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a> OR ' ;


```php
. '</a><br /> OR <br />' ;
21 Dec 2008, 5:33 PM
#19
yongkoom avatar

yongkoom

New Zenner

Join Date:
May 2007
Location:
California
Posts:
30
Plugin Contributions:
0

Re: Sidebox Text

Sorry to jump in on your thread, but my question seems right in line.

In IE, my shopping cart sidebox does not add a break between each product listed when multiple items are added to the cart.

Here is the URL
http://www.bikebrake.com/index.php

Where would I add a <br> to correct this problem?

Thx,