Page 226 of 227 FirstFirst ... 126176216224225226227 LastLast
Results 2,251 to 2,260 of 2267
  1. #2251
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,731
    Plugin Contributions
    27

    Default Re: Categories Dressing

    Quote Originally Posted by DK_Scully View Post
    As I want to add a permanent index link into the categories sidebox, I know it's a little more complex than just typing a link somewhere. How do I add it into the sidebox?

    Which css file(s), and which code groups? I've gone through all I can find, changing every font value that looked even remotely like it would work. No joy.
    1 - a link in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php would work site wide

    2 - Using FireFox you can inspect the code and click on the text you want to change. You will find the CSS that's contributing to the display size if it's not the default. Like sideBoxContent for example. If there is no font/size set - set one and work your way in. You may need to create a new one to handle the various sub/parent spans it's currently using.
    Twitch.
    https://www.twitchtoo.com Do you work for free? Please donate.
    Twitch Base7 with Wholesale PRO - 88 preinstalled plugins zero errors.

  2. #2252
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I'm sure I've done this before, but I spent the last hour searching, and can't find the answer. How do I change the width of the left sideboxes? Below is what Inspect is showing me:

    element.style {
    width: 200px;
    }
    .leftBoxContainer {
    margin: 0px;
    border: 1px solid #112232;
    margin-top: 1.5em;
    }
    user agent stylesheet
    div {
    display: block;
    }


    And under the left column in Inspect, where it shows html code, it says this:

    <div class="leftBoxContainer" id="chcategories" style="width:200px">


    I need to change the sidebox width to 250, but I can't find that anywhere to do that in the stylesheet.css.

    I already changed Configuration/Layout Settings/Column Width - Left Boxes and Column Width - Left, but that didn't do anything at all.

    Thanks very much for your help!

  3. #2253
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello? Could someone please help me with this? Thank you!

  4. #2254
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Categories Dressing

    Admin -> Configuration -> Layout Settings
    Column Width Left: <- change this to desired pixel width

    Another option is to set it to zero and then control width through CSS.

  5. #2255
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Rob:

    I tried changing the Layout Settings first, but it didn't do any good. That's why I'm asking for help. Which .css file do I need, and what do I need to change?


    Jo

  6. #2256
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Categories Dressing

    Do the changes you make show up on the page, when you view source?

    Not sure which site you are referring so cannot suggest which stylesheet to change.

  7. #2257
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Categories Dressing

    The website is http://www.timelesserotica.com. I got rid of the right column, so ideally what I'd like to do is widen the left column some, and then also widen the center column so it takes up the rest of the space. Thanks!

  8. #2258
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    9

    Default Re: Categories Dressing

    the problem is with your template.... personally i would look at replacing it.

    it looks like the left columns is hard coding the width, or reading something from the database.

    your source has this:

    Code:
    <div class="leftBoxContainer" id="chcategories" style="width:200px">
    you can track down in the code where chcategories gets constructed and from there determine that width variable.

    after a cursory look, the implementation of this template with a lot of old school tables and then interspersing div tags is, IMO, not ideal....
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #2259
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Can't be helped...this is the template the client wanted.

    We've been driving ourselves crazy trying to figure out where we can modify that code, but so far we're coming up blank. Changing it through Layout Settings didn't help at all, so we need to know what stylesheet.css to modify. Thanks.

  10. #2260
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    9

    Default Re: Categories Dressing

    DK,
    this should not be that hard.

    under your template directory you should have something like:

    common/tpl_box_default_left.php

    and the code there should indicate the variable for column width. ideally they are using the BOX_WIDTH_LEFT variable, which you can get from how Rob indicated. or else you can search for that variable using:

    Admin -> Tools -> Developer's Tool Kit -> Search in Configuration Settings/Keys

    and then change it from there.

    my column width for the left gets set in:

    includes/modules/column_left.php

    barring that if you REALLY want to set it in the css, you can go to line 1201 in:

    /includes/templates/ZCT Pet & Animals 34/css/stylesheet.css

    and within the .leftBoxContainer styling add:

    width: 250px !important;

    and you should be working.

    one last thing: it is a BAD idea to use spaces in any folder name or image name that is serving up web pages.

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR