Activity Stream
48,167 MEMBERS
61016 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member
    Website's:
    ps3games.ORG

    Default How do I change this box color?



    Code: 
    	.plinks {color: rgb(102, 102, 102);float: left; font-size: 12px;margin: 5px 0px 0px 24px;}
    	.plinks a {background: rgb(186, 11, 10); color: white;display: block;float: left;font-size: 16px;font-weight: bold; margin: 0px 7px 7px 0px; padding: 8px 24px;text-decoration: none;}
    	.plinks a:hover { background: red; }
    Wordpress Single.php Code
    Code: 
            <div class="plinks clearfix">
            <?php if(strlen($link) > 2){ ?>
            <a href="<?php echo $link; ?>" target="_blank" title="<?php the_title(); ?>" <?php if($GLOBALS['premiumpress']['nofollow'] =="yes"){ ?>rel="nofollow"<?php } ?>><?php echo SPEC($GLOBALS['_LANG']['_single1']) ?></a>
            <?php } ?>
            <a href="<?php echo get_option('contact_url'); ?>?report=<?php echo $post->ID; ?>" title="report this listing"><?php echo SPEC($GLOBALS['_LANG']['_single2']) ?></a>  
        </div>
    I want to change the box color on the left side ("I want this!") to green and have it hover in green. When I change the code above it changes both of the box colors to green, but I want to keep the box on the right Red.

    Probably something really easy, but I'm not a coder so it's beyond me.

    Thanks guys!
    thizzladen Reviewed by thizzladen on . How do I change this box color? http://screensnapr.com/e/IlEV3S.png .plinks {color: rgb(102, 102, 102);float: left; font-size: 12px;margin: 5px 0px 0px 24px;} .plinks a {background: rgb(186, 11, 10); color: white;display: block;float: left;font-size: 16px;font-weight: bold; margin: 0px 7px 7px 0px; padding: 8px 24px;text-decoration: none;} .plinks a:hover { background: red; } Wordpress Single.php Code <div class="plinks clearfix"> <?php if(strlen($link) > 2){ ?> <a href="<?php echo $link; Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    .plinks {color: rgb(102, 102, 102);float: left; font-size: 12px;margin: 5px 0px 0px 24px;}
    .plinks a {background: rgb(186, 11, 10); color: white;display: block;float: left;font-size: 16px;font-weight: bold; margin: 0px 7px 7px 0px; padding: 8px 24px;text-decoration: none;}
    .plinks a:hover { background: red; }
    you can change the rgb(186, 11, 10) to to pink, green or any color you want.

    The other one that says red is for hover over box.

  4.     
    #3
    Member
    Website's:
    ps3games.ORG
    Yeah I ended up making another class, .pgreen and changing the first box to that.

  5.     
    #4
    Respected Member
    You are welcome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change whole website color and layout and theme
    By fahadzaman66 in forum Feedback and Suggestions
    Replies: 10
    Last Post: 22nd Nov 2011, 10:03 AM
  2. Vbulletin editor color change?!
    By Deadmau5 in forum vBulletin
    Replies: 5
    Last Post: 16th Jul 2011, 09:19 PM
  3. IPB 3. Change Quote Box Text Color
    By makfun in forum IP.Board
    Replies: 1
    Last Post: 12th Feb 2011, 05:24 AM
  4. How to change navbar link color?
    By bxflow in forum vBulletin
    Replies: 6
    Last Post: 24th Mar 2010, 09:27 PM
  5. Change Usergroup Color
    By WrzBB in forum vBulletin
    Replies: 0
    Last Post: 11th Feb 2008, 11:16 PM

Tags for this Thread

BE SOCIAL