Need Help Guys :)

Discussion in 'HTML & Website Design' started by bobgreen13, Jan 20, 2009.

  1. #1
    Okay so I am editing one site of mine and it has a menubar. One menu button has a specific code using class"" and I cannot find the button image anywhere in my cpanel. The code looks like this:

    <A href="{$location}index.php" class="mainlevel-nav" ><span>Home</span></a></li>

    The red part is the where the button image is coming from and where I cant find the image in my cpanel. I would like to replace this image or just locate it. Can anybody help me?
     
    bobgreen13, Jan 20, 2009 IP
  2. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you locate that class in the style declarations, (either in an external stylesheet or at the top of the page)? If so, the image path should be in there. Let me know. : )
     
    katendarcy, Jan 20, 2009 IP
  3. bobgreen13

    bobgreen13 Guest

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Style declarations? like the css sheet? I honestly cannot locate that path anywhere!
     
    bobgreen13, Jan 20, 2009 IP
  4. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Right, the CSS file. (I wasn't sure if your style were just on the page or in a separate file.) Try opening the CSS file (to edit) and search for ".mainlevel-nav". If that turns up nothing, try searching for something like "nav". If you're still having trouble and you feel comfortable enough, you can PM me a link to your site and I can see if I can find out what/where the image is.
     
    katendarcy, Jan 20, 2009 IP
  5. bobgreen13

    bobgreen13 Guest

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    AHHH!! I found it! thank you so much!
    I never knew css held image values in the text
     
    bobgreen13, Jan 20, 2009 IP
  6. katendarcy

    katendarcy Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No problem. Glad you found it. Yeah, CSS can use the background attribute of an element to assign it an image. It's very helpful. Take care. : )
     
    katendarcy, Jan 20, 2009 IP
  7. ParadoxCentral

    ParadoxCentral Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Gets irritating when your trying to copy a certain idea/style from another site :p
     
    ParadoxCentral, Jan 20, 2009 IP