Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default help on side box style

    Hello.
    I installed blank sidbox 2.0 on my zencart to display ssl image . I like to know how to format the style of this box? my image is not centered inside the box and is set at the left side . i need to center this image.
    I tried style sheet to format but didn't work for me .

    any info on this would greatly appreciate.

    regards.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: help on side box style

    Look at a view source of the page, and you will see the id and classes that apply to the blank sidebox.

    You can use those to style your box and its contents in the stylesheet.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help on side box style

    The stylesheet is how you style the box. Without more information about what you did, it's not possible to advise as to why this didn't work for you. Do you at least have a web address where we can see what you've done so far?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: help on side box style

    Thanks for reply.
    The side box uses the class id sideBoxContent.
    i didn't change anything since this class exists in stylesheet.

    you can look at the site..
    www.comeau.ca

    sorry site is a bit slow today for some reason .

    thanks.

    Ps .. i have used the override feature on all modification and new modules as needed , do i need to over ride also the style sheet ????
    Last edited by tony_sar; 29 Dec 2007 at 05:09 PM.

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help on side box style

    Yes, you do need to over-ride the stylesheet, but I suspect that the problem is that the SSL cert provider is inserting some rather uninspiring visual basic after the page has loaded.

    However, you should be able to force it into submission by adding the following to your stylesheet
    #sslboxContent {width:120px; margin:0 auto}
    ... and I'd also advise getting a better web host, as I doubt anybody will bother visiting your site at those speeds, let alone forcing their way through to the checkout.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: help on side box style

    This is what your HTML source is displaying:
    HTML Code:
    <!--// bof: sslbox //-->
    <div class="rightBoxContainer" id="sslbox" style="width: 150px">
    <h3 class="rightBoxHeading" id="sslboxHeading">Secure & Certified</h3>
    
    <div id="sslboxContent" class="sideBoxContent"><p></p><script language="Javascript" src="https://seal.godaddy.com/getSeal?sealID=78594743004b11cf3127116f3894fba17f4706340550374667762788"></script></div></div>
    <!--// eof: sslbox //-->
    So the id for your sidebox is sslbox, and you can apply whatever styling you need to its contents by using #sslbox {}, #sslboxHeading {} and #sslboxContent {}.

    P.S. - I don't know if you were aware that anyone who does not have javascript enabled will not be able to tell that you even have a secure seal. The sidebox is completely blank unless Godaddy is allowed to run javascript.
    Last edited by gjh42; 29 Dec 2007 at 05:31 PM.

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: help on side box style

    Thanks guys for your help .
    I will test all those on testing server , then will apply the result ..

    sorry for slow site . although speed has backed to normal , i think they installing my SSL or doing something to server that was crawling slow..

    regards.

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: help on side box style

    solved the problem.
    in tbl_blank_sidebox.php.. there is a css class called sideboxcontent .. I added another css class that exist in zen cart css called CenteredContent .. and that fixed the problem.

    thanks.

 

 

Similar Threads

  1. v150 Need to edit a list style in a side box...
    By WebKat in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Jan 2012, 09:04 PM
  2. tweeking - side box font and side box image
    By stephenn in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Dec 2008, 03:20 PM
  3. Need to change manufacturer side box, not normal side box
    By paha in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 12 Jul 2008, 01:23 AM
  4. Change colour of 'sponsors' side box / enable 'featured' side box
    By flatlander in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 29 May 2008, 07:26 AM
  5. Replies: 0
    Last Post: 21 Nov 2006, 04:15 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