How can i make my link underlined only in the post area?

Discussion in 'HTML & Website Design' started by nakatomi, Nov 2, 2010.

  1. #1
    I'm using the wordpress "church theme" and all my link are not underline. In the style.css i can change the a: section but then all my link became underline even the ones in th top navbar, how can i make them underlined only on the posts?
    Appreciate the help allot
     
    nakatomi, Nov 2, 2010 IP
  2. Dusanm

    Dusanm Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you lease give us link to your website.
    Try pointing out exactly on that a tag.
    For example if a tag is in div called with a class test1 you enter in css next line:
    or if you wanna go deeper and point out on some id that is called idtest and have class named test1 you will enter:
    Try it ...
     
    Dusanm, Nov 2, 2010 IP
  3. deepakg

    deepakg Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Add the following code at the additional.css template:

    .postcontent a {
            color: #000000;
            text-decoration: underline
    }
    Code (markup):
    And replace #000000 with the actual color value that you want your links to show up.
     
    deepakg, Nov 2, 2010 IP
  4. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #4
    As I see it is not a free theme, so write here the url of your website and we'll try to help you.
     
    s_ruben, Nov 2, 2010 IP
  5. nakatomi

    nakatomi Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi
    its worked!
    i put .postarea a {
    color: #000000;
    text-decoration: underline
    }

    thanks!
     
    nakatomi, Nov 2, 2010 IP
  6. Dusanm

    Dusanm Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Good job if youhave some more questions we are here...
     
    Dusanm, Nov 2, 2010 IP