Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2007
    Location
    Cornwall UK
    Posts
    33
    Plugin Contributions
    0

    help question Style Sheet Question

    I have a Template Overide in place, and I removed all the sideboxes.
    I added the Category sidebox on the left and set the colours up with the fonts etc, It was just right. Then I added information sidebox on the right and set the colours and fonts, and this was just right. Then I added currency under information on the right and it inherited the colours and fonts, so I was really happy. Well Pleased. Then I added Manufacturer sidebox under category on the left, and although the colours are correct, the font is slightly bigger, and the header bar is also slightly bigger. I searched high and low in the stylesheet and I can't for the like of me work out why this is. Can anybody help?
    Also I have a massive question on something else but I'm new to this so I better wait a bit.

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

    Default Re: Style Sheet Question

    Charlie

    These questions are very difficult to answer without seeing the site. However in this case I suspect that adding the following to your stylesheet will have the desired effect
    #manufacturersHeading label {font-size: 1em}
    Kuroi Web Design and Development | Twitter

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

  3. #3
    Join Date
    Jul 2007
    Location
    Cornwall UK
    Posts
    33
    Plugin Contributions
    0

    help question Re: Style Sheet Question

    Thankyou, That worked a treat.
    I also learnt something very interesting.
    I wonder could I take the liberty of asking you a further question.
    I have recently purchased some software called Dreamweaver CS3, (by the way, I'm no spring chicken I worked in dBase many years ago), Now the thing is I also bought a book called Sams Teach Yourself Dreamweaver CS3 in 24 hours, well it took me about 240 hours. but it was well worth it. My point is that I went through all the examples with HTML and CSS. Then ofcourse I needed to build a web site for my other half, bless her cotton socks. Well (by the way I will tell you where it is when I feel a little better about it) I was led to Zen Cart, which is PSP, So I have a Hosting and all is well, However, I am editing the live site and the biggest pain is I can't see what I am doing unless I update the remote server and bring up my web page. All this is very different to the HTML where I could see everthing interactively. The question is If I go through all the hassle of installing PHP, Apache MySQL etc etc will dreamweaver give me the same facility for editing PHP, I mean will I see the changes in the design window as I make them like with HTML. BECAUSE I feel like I'm in he dark. For Example How would I have got to #manufacturersHeading label {font-size: 1em}, How do you get to this, What do you think?

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

    Default Re: Style Sheet Question

    I use Dreamweaver myself for most of my Zen Cart work, but not in Design View.

    Basically HTML is static and easy for Dreamweaver to interpret in its Design View window. Zen Cart uses PHP scripts to generate HTML (or more strictly XHTML). Dreamweaver can't interpret this as it doesn't have a PHP engine to drive the scripts, so in Design View it just shows you yellow boxes where the PHP scripts are located (it works the same way with the other scripting languages that it supports).

    So to see your site you need a PHP scripting engine. Your remote server will has one, to enable XHTML to be generated and sent to your browser. A very common way of working is to have two windows open, A Dreamweaver Code View window and a browser window, with Dreamweaver set up so that clicking the upload button does an auto save. So you click upload and then refresh in your browser to see instantly the impact of your changes.

    That browser is usually Firefox. Firefox has some very neat extensions for helping developers. The web developer toolbar has long been popular, but for me is superceded by the Firebug extension (though I use both). Amongst other things, Firebug allows you to click on an object in your browser and see what XHTML generates it and what CSS styles are attached to it. You can even experiment with editing them there to see what effect the changes will have, before returning to your Dreamweaver window to commit the ones that work for you.
    Kuroi Web Design and Development | Twitter

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

  5. #5
    Join Date
    Jul 2007
    Location
    Cornwall UK
    Posts
    33
    Plugin Contributions
    0

    Default Re: Style Sheet Question

    Excellent, That is good news. I will get onto this immediately.
    Thankyou for you help

 

 

Similar Threads

  1. CSS question - class defined multiple times in default style sheet
    By ksolito in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Feb 2008, 01:49 AM
  2. A specific question regarding home page style sheet
    By yellow1912 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Feb 2008, 05:32 AM
  3. Is default style sheet read at all while custom style sheet is on?
    By cochlear in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 May 2007, 04:14 PM
  4. friggin style sheet
    By mcsilvio in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 9 Jul 2006, 05:51 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