+ Reply to Thread
Results 1 to 9 of 9

Thread: Need some simple CSS help, will paypal you $5 :)

  1. #1
    singingingtelegrams is offline x10Hosting Member singingingtelegrams is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    38

    Need some simple CSS help, will paypal you $5 :)

    Hello, I need some simple stupid CSS help-
    On the website I'm working on <removed> I need the dark blue "Block Header" in the sidebar to have white text links, while keeping the rest of the links on the sidebar/rest of the page as they are. I know this is easy but I need to just finish at this point. CSS is here:
    <removed> I'll paypal whoever gets it right $5 for a beer!
    -Nick
    Last edited by singingingtelegrams; 04-22-2010 at 12:08 AM.

  2. #2
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Need some simple CSS help, will paypal you $5 :)

    You are right, it is not that hard. Give a class name such as blockheaderLinks to each of your a tags and on your stylesheet change the color of those to which you want.

    HTML Code:
    <a href="#" class="className">Text</a>
    <a href="#" class="className">Text</a>
    <!-- Etc. -->
    CSS
    Code:
    a.className 
    {
          color:whichColorYouWant;
    }
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  3. #3
    singingingtelegrams is offline x10Hosting Member singingingtelegrams is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    38

    Re: Need some simple CSS help, will paypal you $5 :)

    Thanks for the reply..I opened up my sidebar php file and located the class it uses, which is "t":
    Code:
    <div class="art-BlockHeader">
        <div class="l"></div>
        <div class="r"></div>
        <div class="art-header-tag-icon">
            <div class="t"><?php _e('Search', 'kubrick'); ?></div>
        </div>
    then I put the following in my css file:

    Code:
    .art-BlockHeader a.t 
    {
        height: 30px;
        color: #FFFFFF;
        font-family: Arial, Helvetica, Sans-Serif;
        font-size: 12px;
        font-style: normal;
        font-weight: bold;
        white-space : nowrap;
        padding: 0 7px;
        line-height: 30px;
    }
    still notworking?
    Last edited by singingingtelegrams; 04-21-2010 at 05:11 PM. Reason: remove quote

  4. #4
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Need some simple CSS help, will paypal you $5 :)

    Quote Originally Posted by singingingtelegrams View Post
    .art-BlockHeader a.t
    You aren't referencing every parent node. The "art-header-tag-icon" is the parent of the link div, if it isn't in order or leaves out one then it will not work, meaning it will reference (if there is one with that) on that level.

    Code:
    .art-BlockHeader div.art-header-tag-icon a.t
    Last edited by as4s1n; 04-21-2010 at 05:29 PM.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  5. #5
    singingingtelegrams is offline x10Hosting Member singingingtelegrams is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    38

    Re: Need some simple CSS help, will paypal you $5 :)

    So I put that code in the CSS & still nothing.

    Maybe this will shed light: the orginal css code that refers to the class that effects block header text looked like this:
    Code:
    .art-BlockHeader .t
    {
    	height: 30px;
    	color: #FFFFFF;
    	font-family: Arial, Helvetica, Sans-Serif;
    	font-size: 12px;
    	font-style: normal;
    	font-weight: bold;
    	white-space : nowrap;
    	padding: 0 7px;
    	line-height: 30px;
    
    }
    Last edited by singingingtelegrams; 04-21-2010 at 05:59 PM. Reason: added info

  6. #6
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Need some simple CSS help, will paypal you $5 :)

    From what I can see, it looks like the div's class name 't' and the anchor that is under it is named 'rsswidget'

    You could just change the CSS code to get rid of the 'a.t' in your CSS page:
    Code:
    .art-BlockHeader div.art-header-tag-icon div.t a
    Last edited by as4s1n; 04-21-2010 at 06:01 PM.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  7. #7
    singingingtelegrams is offline x10Hosting Member singingingtelegrams is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    38

    Re: Need some simple CSS help, will paypal you $5 :)

    Hero! what is your paypal address ? I will award you the $5 now.

  8. #8
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Need some simple CSS help, will paypal you $5 :)

    No thanks, I don't do this for money.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  9. #9
    singingingtelegrams is offline x10Hosting Member singingingtelegrams is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    38

    Re: Need some simple CSS help, will paypal you $5 :)

    Well many thanks, you saved me a lot of hassle (& added to my understanding of css).

+ Reply to Thread

Similar Threads

  1. About Paypal
    By Wizet in forum Off Topic
    Replies: 8
    Last Post: 03-24-2009, 04:45 PM
  2. Paypal buy.
    By Jonthefisherman in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 03-14-2009, 06:45 AM
  3. I got paypal phishing email from paypal.pcriot.com
    By yorije in forum Feedback and Suggestions
    Replies: 5
    Last Post: 10-03-2007, 02:47 PM
  4. Paypal!?!
    By Oni in forum Off Topic
    Replies: 12
    Last Post: 01-06-2006, 12:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers