Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Description code changes by itself ???

    Quote Originally Posted by gjh42 View Post
    "would stylesheet changes be for the entire site?"

    Not at all. If you use unique class names for these bits, any styling in the stylesheet will affect only them. Even if you don't type each one in now, if you ever wanted to make any change in the appearance you would have to edit every single product separately. All of the font/size/color and much of the spacing can be controlled through the stylesheet, with one edit affecting all comic listings at the same time.
    OK, can you give me a heads up on where to do this or WHAT to change? I really don't understand it at all. I don't type in the same info every comic, so not sure what I'm actually going to change. Will it change how I add books? Instead of a big description area, will it just be the boxes to fill in, for example a box with the heading Title, Condition, Volume . . . . like how my Tagbot works?

    I'm sorry, I'm not usually this stupid , but I've just never had such a problem with coding. I've missed a character and that changed something or had one too many >'s in there, but never had the thing change on its own after I've saved it, left the item, and then come back in. I guess I could just live with making sure I get it right the first time and then if I need to edit, delete and make a new one, but that just doesn't seem right to me either.

  2. #22
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Description code changes by itself ???

    I'm not sure how, but I used HTML Kit and it "fixed" the code I guess. It point out some issues and fixed them and I used that and it seems to work. I can edit the book, save it, leave it and go back in and it all still looks the same .

    Here is what it did... I don't have a clue WHAT and I'm too tired and my head hurts too bad to care, all I know is It Works!

    Code:
    <br /><br /><br /><div align="left"><font face="Arial" color="#000000" size="2">Condition:</font> <b><font face="Arial" color="#0000ff" size="2">VG</font></b></div><br /><div align="left"><font face="Arial" color="#000000" size="2">Title:</font> <b><font face="Arial" color="#0000ff" size="2">TEST ITEM</font></b></div><div align="left"><font face="Arial" color="#000000" size="2">Volume:</font> <b><font face="Arial" color="#0000ff" size="2">Vol. 100</font></b></div><div align="left"><font face="Arial" color="#000000" size="2">Series #:</font> <b><font face="Arial" color="#0000ff" size="2"># 999</font></b></div><div align="left"><font face="Arial" color="#000000" size="2">Date:</font> <b><font face="Arial" color="#0000ff" size="2">Apr. 05 2007 11:08pm </font></b></div><div align="left"><font face="Arial" color="#000000" size="2">Publisher:</font> <b><font face="Arial" color="#0000ff" size="2">Me</font></b></div><div align="left"><font face="Arial" color="#000000" size="2">Cover Price:</font> <b><font face="Arial" color="#0000ff" size="2">$1,000,000.00</font></b></div><div align="left"><font face="Arial" color="#000000" size="2">NOTES:</font> <strong><font face="Arial" color="#0000ff" size="2">TEST TEST TEST</font></strong></div>
    It still looks like a awful lot of code, but it works.

    Thanks !

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

    Default Re: Description code changes by itself ???

    If you have made any modifications to the look of your site, you had to have edited the stylesheet. Get used to it - it will become your best friend.

    Changing your description entry to this:
    HTML Code:
    <br />
    <div class="comicStats">Condition: <span class="comicStatsValue" >VG</span><br />
    Title: <span class="comicStatsValue" >TEST ITEM</span><br />
    Volume: <span class="comicStatsValue" >Vol. 100</span><br />
    Series #: <span class="comicStatsValue" ># 999</span><br />
    Date: <span class="comicStatsValue" >Apr. 05 2007 11:08pm </span><br />
    Publisher: <span class="comicStatsValue" >Me</span><br />
    Cover Price: <span class="comicStatsValue" >$1,000,000.00</span><br />
    NOTES: <span class="comicStatsValue" >TEST TEST TEST</span><br /></div>
    will make it easier to read and find the spots to add your text.

    Add this to your /includes/templates/your_template/css/stylesheet.css:
    HTML Code:
    .comicStats {
        margin-top: 3em; /* change as desired */
        text-align: left;
        font-family: arial;
        font-size: 1.2em; /* change as desired */
        color: #000000;
        }
    
    .comicStatsValue {
        font-weight: bold;
        color: #0000ff;
        }
    For .comicStatsValue, you only need to specify the properties that differ; the rest are inherited from the parent (.comicStats).
    The margin-top adds space above the whole stats section.

  4. #24
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Description code changes by itself ???

    Quote Originally Posted by gjh42 View Post
    If you have made any modifications to the look of your site, you had to have edited the stylesheet. Get used to it - it will become your best friend.

    Changing your description entry to this:
    will make it easier to read and find the spots to add your text.
    But I don't add the text thru this. I use TagBot and it just gives me info boxes to fill in. That way, I'm not the only one that can add them in. I'm the only one around here that can read thru the code, don't know what it all means obviously, but I can pick out the text to edit, they can't.

    Add this to your /includes/templates/your_template/css/stylesheet.css:
    HTML Code:
    .comicStats {
        margin-top: 3em; /* change as desired */
        text-align: left;
        font-family: arial;
        font-size: 1.2em; /* change as desired */
        color: #000000;
        }
     
    .comicStatsValue {
        font-weight: bold;
        color: #0000ff;
        }
    For .comicStatsValue, you only need to specify the properties that differ; the rest are inherited from the parent (.comicStats).
    The margin-top adds space above the whole stats section.
    I'm so afraid to change any files at this point....I finally have it up and running and was at the point that I only needed to add products, so I'm afriad I'll break something! What exactly is that going to do? If this that I've done now is working, I think I'd better just leave it at that and get to listing, I have people waiting to see the books already.
    Thanks for all of the help ~

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

    Default Re: Description code changes by itself ???

    If it's working correctly now, sure, leave well enough alone.
    Make a note of this info for use if you ever want to make changes in the future.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Language changes by itself?
    By Pompidompie in forum General Questions
    Replies: 5
    Last Post: 12 Apr 2015, 11:43 AM
  2. Replies: 0
    Last Post: 9 Apr 2010, 12:45 AM
  3. product description os utputting code -stylesheet and comment code
    By edt123 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Dec 2009, 07:06 PM
  4. Product Description Changes
    By tlc6668 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Sep 2008, 10:40 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