Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    Quote Originally Posted by vvomble View Post
    Hi guys,

    I'm trying to edit my css files so that the side boxes on the left look cleaner or at least allow the writing to fit. unfortunately I have no idea what em means or looks like in terms of size unlike px.
    "EM" and "EN" are printers' terminology and relate to the width of the letter " M " (em), and " N " (en).

    The widths are therefore RELATIVE to the size of the font.

    The advantage of using these is that widths and sizes SCALE with an increase or decrease in the governing (parent) font size, thus retaining visual integrity if the font is made bigger or smaller - whereas PX is FIXED.

    There is no rule that says you can't change your size parameters from EM to PX if you want to. I do it often.
    20 years a Zencart User

  2. #2
    Join Date
    Feb 2013
    Posts
    111
    Plugin Contributions
    2

    Default Re: Tidying up messy css.

    right so which bit do i need to edit to get it to fit?

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    You don't edit the CSS.

    ADMIN CONSOLE >>> CONFIGURATION >>> LAYOUT SETTINGS...

    Column Width - Left Boxes (set the desired width in PX)
    ... and a bit further down...
    Column Width - Left (set the desired width in PX - I usually keep it the same as the Left Boxes)
    20 years a Zencart User

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    Bad idea to use uppercase wording on a website - google regards this as "shouting" and severely penalises you for seo...
    20 years a Zencart User

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    Use firefox browser, then go get the FIREBUG plugin. This enables offline page analysis, so you can then easily identify the components of a page and test out CSS (and other) changes, before committing these changes to a live site.
    20 years a Zencart User

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    Your HEADER is also ridiculously BIG... It uses up important "above-the-fold" space that is better served showcasing PRODUCT.

    Nobody cares how "proud" you are of your massive logo ( or ego ) so reduce it by at least 80% and give the space over to product pictures and descriptions.
    20 years a Zencart User

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    AMAZON'S site logo is just 30 pixels tall...
    20 years a Zencart User

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Tidying up messy css.

    If you don't want a RIGHT COLUMN, switch it OFF in Admin Console...

    ADMIN CONSOLE >>> CONFIGURATION >>> LAYOUT SETTINGS...
    Column Right Status - Global = set to ZERO
    20 years a Zencart User

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

    Default Re: Tidying up messy css.

    stylesheet_betterCategoriesEzInfo.css, around line 12:
    Code:
    .betterCategories a, .betterCategories a:visited,
    .betterDocuments a, .betterDocuments a:visited,
    .betterEzpages a, .betterEzpages a:visited,
    .betterInformation a, .betterInformation a:visited,
    .betterMoreinformation a, .betterMoreinformation a:visited,
    .betterBestsellers a, .betterBestsellers a:visited {
    	display: block;
    	background-color: #fffffe;
    	border-top: 2px solid #ffffff;
    border-bottom:2px dotted #b5b5b5;
    	padding: 4px;
    	font-size: 0.9em;
    
    }
    Add the line in red, and adjust to taste.


    I think this is the wrong issue to solve, however; making the text smaller makes it harder to read. You do not appear to be using the right sideboxes at all, and if you turn off the right sidebar, you can make the left sidebar wider without sacrificing font size or main content area.
    Admin > Configuration > Layout Settings >
    Column Right Status - Global
    Column Left Width
    Column Left Boxes Width.

  10. #10
    Join Date
    Jul 2009
    Location
    Norwich, UK
    Posts
    120
    Plugin Contributions
    0

    Default Re: Tidying up messy css.

    Just looking at your site gives me a headache. Smaller header is ideal.
    FMUK Consulting - Web Design & Development | Graphics | Marketing | Apps - http://www.FMUKConsulting.co.uk

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Form is messy, why?
    By Inxie in forum General Questions
    Replies: 3
    Last Post: 17 Sep 2012, 10:55 AM
  2. Messy Category Image Display
    By alin in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2011, 04:14 AM
  3. Messy photo layout
    By Kayz in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Mar 2010, 02:18 PM
  4. Two issues here, bulk and website tidying up
    By mhakiwa in forum General Questions
    Replies: 1
    Last Post: 29 Oct 2009, 09:34 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