Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    kobra,

    i am using only 1 stylesheet (from default). I just added some table codes from classic since i like the way it looks but other than that, it should all be from the default stylesheet :)

    Regards

  2. #12
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    forgot to ask,

    when you change the sidebox header to an image, how do you implement the link i.e for the Reviews. When i insert an image for this, the "more" link goes beside it.

    Is there a way to get rid of this and make the whole header (for the reviews) to be the link instead?

  3. #13
    Join Date
    Feb 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    Quote Originally Posted by Berserker
    forgot to ask,

    when you change the sidebox header to an image, how do you implement the link i.e for the Reviews. When i insert an image for this, the "more" link goes beside it.

    Is there a way to get rid of this and make the whole header (for the reviews) to be the link instead?
    In you languages/your_template/english.php
    (Assuming this is the language you use)
    Find the line:

    define('BOX_HEADING_LINKS', '  [more]');

    And change it to:

    define('BOX_HEADING_LINKS', '');

    Works like a charm, I just tested it :-)

    /Torgil

  4. #14
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    Hello, I was hoping someone might be able to help me with this.
    I was able to change things enough for an image to show above the "shopping area" but I'm not to sure what I need to do to get the image to show above the "information" Forgive me if it's obvious....

    Thanks for any help.

    PS

    http://www.missevilkitty.com/MEK/

  5. #15
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Using buttons/images in left hand sideboxes

    sheba10,
    You did this the hard way through hard coding it. The easy way is using the stylesheet.css and entering something like this

    Code:
    h3.#categoriesHeading   {
    	margin: 0em;
    	background-image: url(../images/your_image_name.gif/jpg);
    	background-repeat: no-repeat;
    	padding: 0.4em 0.2em;
    	}
    
    h3.#informationHeading   {
    	margin: 0em;
    	background-image: url(../images/your_image_name.gif/jpg);
    	background-repeat: no-repeat;
    	padding: 0.4em 0.2em;
    	}
    Where your images are in the /includes/templates/your_template/images folder
    Zen-Venom Get Bitten

  6. #16
    Join Date
    Nov 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    I followed kobras excellent sidebox text to image switching procedure.

    I have found that to use specific ALT atributes for each heading image the below code could be used instead.

    $title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, BOX_HEADING_CATEGORIES_ALT
    );

    With a new definition added to 'english.php' for the alt tags like below.


    define('BOX_HEADING_CATEGORIES_ALT', 'Categories');

  7. #17
    Join Date
    Nov 2006
    Posts
    46
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    Thanks!
    I reversed the changes I made previously, but I'm not quite sure where I'm putting it in the stylesheet.css, could you take a look and maybe help me out?

    PHP Code:
    /*sideboxes*/
    .columnLeft {}

    h3.leftBoxHeadingh3.leftBoxHeading a {
        
    margin0;
        
    padding3px;
        
    font-weightnormal;
        
    font-styleitalic;
    }

    h3.rightBoxHeadingh3.rightBoxHeading a {
        
    margin0;
        
    padding3px;
        
    font-weightnormal;
        
    font-styleitalic;
    }
    #manufacturersHeading, #currenciesHeading, #musicgenresHeading, 
    #recordcompaniesHeading, #searchHeading, #search-headerHeading {
    }

    .
    leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
        
    /*background-color: #f5f5f5;*/
        
    border-bottom1px solid #000;
    }
    .
    leftBoxContainer, .rightBoxContainer {
        
    border1px solid #ccc;
        
    margin0 0 1em 0;
    }

    .
    sideBoxContent {
        
    background-color#ffffff;
        
    padding0.4em;


    Thanks, I'm feeling quite dumb in the brain...

  8. #18
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Using buttons/images in left hand sideboxes

    ok is this for changing the catagories links to images or buttons?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Using CSS buttons instead of images
    By bigstore in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Feb 2012, 02:38 AM
  2. How to add background images to Categories on left hand side?
    By Wayne328 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Nov 2010, 05:43 AM
  3. Seperate Sidebox Content Background Images for left and right sideboxes.
    By Jordin in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jan 2010, 10:31 PM
  4. im not using any left sideboxes i want the middle box to use all the space
    By Flippin1900 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Aug 2008, 07:19 PM
  5. Need help moving all of left hand side sideboxes
    By mtweldon in forum Basic Configuration
    Replies: 8
    Last Post: 30 Apr 2007, 03:19 PM

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