1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress CSS

Discussion in 'CSS' started by Pacific Publishing, Jul 21, 2008.

  1. #1
    Pacific Publishing, Jul 21, 2008 IP
  2. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, you need to set a fixed width to the classes .commentbody and .commentauthor. That should fix your problem ;)

    Good luck!
     
    Ikki, Jul 21, 2008 IP
  3. Pacific Publishing

    Pacific Publishing Banned

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, but how is that done? I tried - width: fixed;

    Also, I need to move the comment count number out from under the header - "Responses to...“
     
    Pacific Publishing, Jul 21, 2008 IP
  4. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh, sorry. I didn't know that your CSS knowledges weren't good.

    In your stylesheet, find this:
    .commentbody {
    	padding: 25px 40px 12px 20px;
    	line-height: 16px;
    	color: #413e36;
    	width: fixed;
    	background: url(images/comment_background2.gif) bottom left no-repeat;
    }
    HTML:
    ... and replace with:
    .commentbody {
    	padding: 25px 40px 12px 20px;
    	line-height: 16px;
    	color: #413e36;
    	width: 400px; // Put here your desired width!
    	background: url(images/comment_background2.gif) bottom left no-repeat;
    }
    HTML:


    Also, change this:
    .commentauthor a {
    	font: 14px Arial, Helvetica, sans-serif;
    	font-weight: bold;
    	color: #787878;
    	letter-spacing: -1px;
    	float: right;
    	margin: 0 80px 0 0;
    }
    HTML:
    ... into this:
    .commentauthor a {
    	width:200px; // Put here your desired width!
    	font: 14px Arial, Helvetica, sans-serif;
    	font-weight: bold;
    	color: #787878;
    	letter-spacing: -1px;
    	float: right;
    	margin: 0 80px 0 0;
    }
    HTML:
    Give it a try and if you need any further help please PM me, ok?
     
    Ikki, Jul 21, 2008 IP
    JoyGoRound likes this.
  5. Pacific Publishing

    Pacific Publishing Banned

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks so much. That fixed some of it.

    I still need to move the commentcountnum out from under the header - "Responses to...“

    And maybe shift the comment dates left.
     
    Pacific Publishing, Jul 21, 2008 IP
  6. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Cool! Glad to know that it worked. I'll take a deeper look into your site later today and try to help you with the "Responses to... " thing.

    Cheers!
     
    Ikki, Jul 22, 2008 IP
    Pacific Publishing likes this.