Thread: edit text size

Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    152
    Plugin Contributions
    0

    Default edit text size

    Hi
    How would i go about changing the font size for copyright and disclaimer copy on this link:

    http://www.canvas-style-art.co.uk/sh...roducts_id=180

    and also getting rid of the sub cat image at the top entitled A1 Size - Large


    cheers
    egg is getting there>>>

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

    Default Re: edit text size

    In your stylesheet, find this
    Code:
    .smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
    	font-size: 0.9em;
    	}
    and separate #siteinfoLegal onto its own line:
    Code:
    .smallText, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
    	font-size: 0.9em;
    	}
    #siteinfoLegal {font-size: 1.1em;}

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

    Default Re: edit text size

    Description text, not footer text... ok... and too late to edit.

    You have style classes applied to those sections of text now, and presumably you could style

    .style9, .style11, .style12 {font-size: 0.9em}

    in your stylesheet. These might not apply to other products' descriptions, however, or they might apply to other elements of the description in other products, so your best bet is to wrap a div around the whole disclaimer - copyright block and give it a class:

    <div class="productFinePrint"> text text </div>

    and then style that in your stylesheet:

    .productFinePrint {font-size: 0.9em;}

  4. #4
    Join Date
    Apr 2007
    Posts
    152
    Plugin Contributions
    0

    Default Re: edit text size

    ok your moving into the world of html stuff and iam not up to scracth on that, how would i go about implementing that above glenn?

    i want to get one right so i can use it as a template to copy and paste into mor products, i i only need to get one right.

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

    Default Re: edit text size

    Examination of your page source and stylesheet shows that your editor gave "style#" classes to all the <p> elements, but didn't apply any styling to them. That is good because it means there is nothing to undo or override.

    You can either add the wrapper div as described above, or replace the various style# classes with class="productFinePrint" or class="productFPhead" and class="productFPbody" if you want a distinction between the Disclaimer line and the rest of the section.

  6. #6
    Join Date
    Apr 2007
    Posts
    152
    Plugin Contributions
    0

    Default Re: edit text size

    i styled out that text in dreamweaver from a blank template to the way i want it and copied the code into my product description via the admin section, is there a way i can save out the style sheet its looking for from dreamweaver and add it to the cart glenn or is this long winded?
    Last edited by eggrush; 27 Feb 2008 at 06:17 PM.

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

    Default Re: edit text size

    A condensation of your description code in view source:
    HTML Code:
     <!--bof Product description -->
      <div id="productDescription" class="docProduct  biggerText">*</span><span class="style3">*</span><span class="style4">*<span class="style5">FREE P&amp;P TO UK MAINLAND ONLY</span>*</span><span class="style3">*</span><span class="style2">*</span></p>
    
        <p class="style7">Printed onto a Silk 170 gsm Photographic Poster Paper at A1 size (594 x 841 mm - 23.4 x 33.1 inch) Landscape.</p>
        <p class="style8">&nbsp;</p>
        <p class="style11">.:: Disclaimer ::.</p>
        <p class="style12">Whilst care is taken to ensure that the End design Media Ltd t/a Canvas Style Art website is as ... equally disclaimed by Canvas Style Art itself.</p>
        <p class="style9">.:: Copyright ::.</p>
        <p class="style12">2008  Canvas Style Art. All Rights Reserved. All text, images, graphics, and other materials... written permission of Canvas Style Art. </p>
    
        <p class="style10">© Copyright 2008 - Canvas Style Art.</div>
    <!--eof Product description -->
    If you want to copy this block essentially as is to all products, you can leave the "style#" classes alone (though best practice is to give classes meaningful names), and just do the work in your stylesheet (/includes/templates/your_template/css/stylesheet.css).

    It is possible that generic names like style9 could be used elsewhere in your site, so you can specify that your declarations only apply to ones in the product description:
    Code:
    #productDescription .style9, #productDescription .style10, #productDescription .style11 {font-size: 0.9em;}
    
    #productDescription .style12 {font-size: 0.8em;}

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

    Default Re: edit text size

    I don't know Dreamweaver, so I can't tell you how to transfer styling from there. The comments above tell you pretty much everything you need to know about actually doing the styling - you can add as many other properties to the declarations as you want.

 

 

Similar Threads

  1. v139b Text box for Edit Category & Edit Product greyed out
    By irishshoppercom in forum Basic Configuration
    Replies: 0
    Last Post: 23 Oct 2013, 10:03 AM
  2. v150 How to edit header text/images, also edit pages?
    By Gary Compton in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2012, 10:01 PM
  3. Edit Image Size on Category Pages
    By Psykryph in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Oct 2011, 05:30 AM
  4. Edit the font size of products description on main page
    By scottyg in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Feb 2007, 12:49 PM
  5. Easy Populate won't work with Excel text file, only Text Edit file.
    By anduril3019 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jan 2007, 04:42 AM

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