Thread: prod info

Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: prod info

    Ok that works thanks. I soent 30 mins on firefox firebug where the CSS file works and can be edited with changes then suddenly fails to load css code on firebug....your way is good.

    The background color is changed on every prod info page now, can you add stylesheets to specific prod information?

    There are a few combo boxes i want moved which from the source file has it id='atrrib-4', so do I just add the id to the style sheet and change location for it there? (it looks like it is nested in a dozen other tags).

    I wouldn't add javascript to the style sheet and still not sure about that yet.

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: prod info

    Quote Originally Posted by mex View Post
    can you add stylesheets to specific prod information?
    Yes, there is a way, here is a little bit on it, but you may want do a search on "product specific stylesheet" or "Page specific stylesheet"
    http://www.zen-cart.com/forum/showpo...3&postcount=15

    Quote Originally Posted by mex View Post
    There are a few combo boxes i want moved which from the source file has it id='atrrib-4', so do I just add the id to the style sheet and change location for it there? (it looks like it is nested in a dozen other tags).
    May be silly of me to ask, but what are combo boxes? Can you be more specific? I don't know what you're speaking of.

    Quote Originally Posted by mex View Post
    I wouldn't add javascript to the style sheet and still not sure about that yet.
    No. javascript goes in your includes/templates/YOUR_TEMPLATE/jscript/ folder. What do you need extra jscript for?

  3. #3
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: prod info

    Hi,

    combo boxes are option boxes and are drop down boxes where you click on them and other option values drop down appear in . eg in default install graphic cards the prod items have these at bottom of the page . They are defined in option name and values in admin.
    On the page view source i get the id of them so i take it i can change them from
    stylesheet.css

    I need javascript for a drop down menu (suckerfish type).


    So all i need is the id from the page source, goto stylesheet.css to edit css from anywhere.

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: prod info

    Quote Originally Posted by mex View Post
    Hi,

    combo boxes are option boxes and are drop down boxes where you click on them and other option values drop down appear in . eg in default install graphic cards the prod items have these at bottom of the page . They are defined in option name and values in admin.
    On the page view source i get the id of them so i take it i can change them from
    stylesheet.css

    I need javascript for a drop down menu (suckerfish type).


    So all i need is the id from the page source, goto stylesheet.css to edit css from anywhere.
    I don't know if using the id='attrib-4' will style anything for you... I would style dropdown menus with the 'select' tag, and style radio boxes with the 'radio' tag. Could I see a link with more specific details as to what you'd like the drop down menus to do differently?

  5. #5
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: prod info

    Hi,

    No I just want to move them (I didn't know you could style them).

    I have 1 dropdown box then a large space for button on right then another dropdown box. It looks messy.

    Did I get this right the id=attrib-4? to just set in stylesheet. Is this how it is done?

    To style anything I do just edit the stylesheet.css with a tag from page source, this is a major question of mine.

  6. #6
    Join Date
    Feb 2007
    Posts
    176
    Plugin Contributions
    0

    Default Re: prod info

    I goto the stylesheet and add this. Now this is from default install on graphics cards Matrox G400 32MB prod info page.

    #attrib-4 {position: relative: left :100px;} This should move it 100 px to the right from where it currently is, but fails to move.


    Now since this id is nested in about a dozen other id's do I include this. I forget how to do this within a complicated id structure.

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: prod info

    Quote Originally Posted by mex View Post
    I goto the stylesheet and add this. Now this is from default install on graphics cards Matrox G400 32MB prod info page.

    #attrib-4 {position: relative: left :100px;} This should move it 100 px to the right from where it currently is, but fails to move.


    Now since this id is nested in about a dozen other id's do I include this. I forget how to do this within a complicated id structure.
    I don't think you can use the attrib-4 to style things (and moving things is considered styling them, by the way) as I mentioned before. The divs I would try are:
    #productAttributes
    .wrapperAttribsOptions
    .optionName back

    I could really help you a lot more if your site was online. Its probably a spacing issue.

    Here's a copy and paste from another post where I helped someone who didn't like the spacing on their attributes, perhaps changing the following sections will help:

    .wrapperAttribsOptions {
    margin: 0em;
    padding:0;
    }

    label, h4.optionName {
    line-height: 1em;
    padding: 0em;
    margin:0;
    }

 

 

Similar Threads

  1. EDIT product loses all prev. prod. info...
    By Boddi in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 14 Mar 2011, 09:47 PM
  2. Different Images for Cart vs. Prod Info
    By realeyz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Nov 2009, 09:19 PM
  3. prod info pg: 2 description fields? (general, details)
    By dyno in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 10 Oct 2007, 03:47 AM
  4. Alter location of prod info page
    By spottedhaggis in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Sep 2006, 02:55 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