Help with simple php problem!

Discussion in 'Programming' started by colinph970, Mar 27, 2010.

  1. #1
    Can anyone help with this issue? I am building a wordpress based site at:

    http://internet-ebooks.net/test


    You can see that when you first log in you see the normal "hello world" but there is a date box just to the left of the words and I want to get rid of this (it always says March 20th) Is this possible? How do I do it?


    Can anyone tell me how to do this?
    :)
     
    colinph970, Mar 27, 2010 IP
  2. koko5

    koko5 Active Member

    Messages:
    394
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    70
    #2
    Hi, you've to:
    -edit your your template
    or
    -edit css file ( located at /wp-content/themes/ambiance/style.css). Find .post .date and .post .date b and replace these with the following :
    
    .post .date {
    	display: none;
    	float: left;
    	width: 70px;
    	margin: 0 15px 0 0;
    	padding: 2px 0;
    /*
    	background: #C9E5FC;
    	border: 1px solid #C9E5FC;
    	text-align: center;
    	font-size: 11px;
    	color: #3F4C6B;
    */
    }
    
    .post .date b {
    /*
    	display: block;
    */
    	display: none;
    	padding: 5px 0;
    	background: #F4FAFE;
    	font-size: 24px;
    	font-weight: normal;
    }
    
    Code (markup):
    Regards :)
     
    koko5, Mar 27, 2010 IP
  3. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Seems a problem in the server.
    However, try to re-install WordPress and if it is still the same, contact your hosting company.
     
    NeoCambell, Mar 27, 2010 IP
  4. colinph970

    colinph970 Active Member

    Messages:
    410
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    68
    #4
    koko5 - you are a genius! Your suggestion worked perfectly - in fact I only had to modify post.date.

    Many thanks !!!!
     
    colinph970, Mar 27, 2010 IP