Html colour in script needs some advice.

Discussion in 'Scripts' started by ipbr21054, Jul 27, 2010.

  1. #1
    Hi,i have a script that requires some advice.
    A page on my website has the word "Home" but the colour choice is not to clever in that its hard for people to see it.
    I have had a look at the text to see where i need to change the html colour but apart from the obvious i cant seem to find it.
    The text in question is shown below.
    The web is also supplied to show the colour clash "see just above web photos"
    Please could somebody advise me of the section i need to edit in order for me to change the colour to white +ffffff

    http://www.parsonswebspace.pwp.blueyonder.co.uk/web-photos/default.htm

    body{background-color:#000000;}
    a:active {outline:none;/*remove dotted links*/}
    #divWG {text-align:center; font: 11px Verdana, Arial, Helvetica, sans-serif;}
    #divWG img, #divWG table {border:none;}
    #divWG a:link, #divWG a:visited {text-decoration:none;}
    #divWG a:hover {text-decoration:underline;}
    #tblThumbsLayout {text-align:left; margin: 0 auto;}
    #tblGalleryName{margin-top:2px;}
    #currentGalleryLocation {font-weight:bold;}
    td#galleryNameCell {font-size: 24px; font-weight:bold; color:#ffffff; margin: 6px 6px 0 0;}
    td#pagingCell {text-align:right; white-space:nowrap;}
    .currentPage {font-weight: bold;}
    td#pagingCell a, .currentPage {font-size: 12px; padding: 3px 5px; border:1px solid #ccc;vertical-align:middle; }
    td#pagingCell a:hover, .currentPage {border: #666 1px solid; background-color:#fff; text-decoration:none;}
    td.tdImg {border: 1px solid; border-color: #aaa #666 #666 #aaa;
    text-align:center; background-color:#c0c0c0; vertical-align:middle;padding:4px;}
    td.tdImg img {margin-top:11px;}
    #pnCell {text-align:right;padding-top:10px;}
    a.pn, a.pn:LINK,a.pn:VISITED {color: #FFFFFF; font: 12px arial, helvetica, sans-serif; text-decoration: none; padding: 1px 4px;}
    td.custom a {display:block;position:relative;}
    td.custom .icon {margin:0;position:absolute;background:url(../lib/images/play64.png) 0 0 no-repeat;width:64px;height:64px;opacity:0.65;filter:alpha(opacity=65);top:40%;left:35%;}
     
    ipbr21054, Jul 27, 2010 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    This is the source of that section:
    HOME > web-photos
    web-photos
    Source:
    
    <div id="divNav"><a id="linkHome" href="../">HOME</a> &gt; <span id="currentGalleryLocation">web-photos</span></div>
    <table id="tblGalleryName" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody><tr>
    <td id="galleryNameCell">web-photos</td>
    
    Code (markup):
    id: galleryNameCell already exists in your styles, id :currentGalleryLocation does exist but it doesn't have a colour so change that line to :

    
    #currentGalleryLocation {font-weight:bold; color:#ffffff;}
    
    Code (markup):
    I cant seem to find id : linkHome so simple add that to your style

    Something like this maybe, will do for colour
    
    #linkHome {color:#ffffff;}
    
    Code (markup):
     
    Last edited: Jul 28, 2010
    MyVodaFone, Jul 28, 2010 IP
  3. ipbr21054

    ipbr21054 Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi thanks for that worked a treat.
    I only know the very very basic changes that i am able to do myself thats why i kindly asked the pro`s.
    One last question if i may.
    Where it reads HOME where can i obtain that text so i can change it to read CLICK HERE FOR HOME PAGE.
    Basically if i knew where you got the code from above i could do it myself but as i only supplied the text in the very first post just shows my limits on this issue.

    Thanks again and hope you can be of service to me once more.
     
    ipbr21054, Jul 28, 2010 IP
  4. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #4
    Its in the file called default.htm
     
    MyVodaFone, Jul 28, 2010 IP
  5. ipbr21054

    ipbr21054 Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi, i did think that so opened it with note pade entered the text i would like to see and selected save.
    I then publish to seb site but still reads just HOME.
     
    ipbr21054, Jul 28, 2010 IP
  6. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #6
    It reads Home Page for me, maybe you need to clear your browser history.

    EDIT: Now it reads : RETURN TO HOME PAGE so what your doing is correct.

    Just an opinion, if your concerned about looks, I would remove this part of the code from the same section:

    
    &gt; <span id='currentGalleryLocation'>web-photos</span>
    
    Code (markup):
    As it already says web-photos under your home link.
     
    MyVodaFone, Jul 28, 2010 IP
  7. ipbr21054

    ipbr21054 Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I have this software that once you have the photos etc sorted in a source folder you then click on create gallery.
    A default file is then created,i then click on publish in front page and the web site is updated with the new added photos.

    First of all i opened the default file using notepad i changed the text to what i would like & selected save.
    I then published in front page and bingo worked fine but read on.

    As a test i did the following.
    I added another photo to the source folder,click on create of which then updates the default file,then use front page to publish to web.
    The result was the added photo was now present BUT the text had changed back to the original layout.
    Something to do with when i hit the create button overwrites the default file back to the original layout.
    I need to change the text somewhere else and not the default file so when the default file is updated it is done so with the new text layout each tim.
     
    Last edited: Jul 28, 2010
    ipbr21054, Jul 28, 2010 IP
  8. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #8
    I think its in your Documents folder
     
    MyVodaFone, Jul 28, 2010 IP
  9. ipbr21054

    ipbr21054 Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi thanks for the help,i think you viewed it just before i carried out the test,once the test was complete if you had viewed the site again you would then see it has changed back.
     
    ipbr21054, Jul 28, 2010 IP
  10. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #10
    Instead of clicking publish all the time, you would need to manually edit the default.htm file on your server.

    Other then that, you should contact the script developers to seek further advise, or use a different script, that allows you to upload files to your gallery.
     
    MyVodaFone, Jul 28, 2010 IP
  11. ipbr21054

    ipbr21054 Guest

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I have been told it is embedded ? and cant be changed,only script to be changed now is the script i first posted.
    I am now happy with what i have changed so thanks very much for your help.
     
    ipbr21054, Jul 28, 2010 IP