Results 1 to 4 of 4

Thread: WTA: adjust on Wordpress date alignment

  1. #1
    Join Date
    Jul 2006
    Location
    LittlePenang.com
    Posts
    1,778
    Rep Power
    191

    WTA: adjust on Wordpress date alignment

    hi guys, I have some problem over here to modify my wordpress date and month display over the stylesheet.

    I am not so knowledgeable on coding, just know where to find the code, hope you guys can give some guideline



    recently i just modify the date icon, and need to adjust the alignment on the month display and also the date display

    the code at the CSS are as below

    date_m {

    display:block;

    font-size: 0.9em;

    margin:0;

    padding-top:5px;

    color:#fff;

    font-weight: bold;

    text-align:center;

    }



    .date_d {

    display:block;

    font-size:1.2em;

    margin:0;

    color:#336699;

    font-weight: bold;

    padding:0.7em 0 1.1em 0;

    text-align: center;

    }
    I would like to adjust the month be lower a bit, and move to a bit left.

    also the date to be lower a bit, fit in the center of the white area

    any advice to modify the above code?
    I blog IT Engineer LIFE at iCalvyn.com

    DreamNetwork If you don't mind Pirated

  2. #2
    Join Date
    May 2005
    Location
    Johor
    Posts
    23
    Rep Power
    0
    Use this:

    Code:
    date_m {
    
    display:block;
    
    font-size: 0.9em;
    
    margin:0;
    
    padding-top:7px;
    padding-left: 2px;
    
    color:#fff;
    
    font-weight: bold;
    
    text-align:center;
    
    }
    
    
    
    .date_d {
    
    display:block;
    
    font-size:1.2em;
    
    margin:0;
    
    color:#336699;
    
    font-weight: bold;
    
    padding:1em 0 1.1em 0;
    
    text-align: center;
    
    }

  3. #3
    Join Date
    Jun 2001
    Location
    Mystic Kingdoms
    Posts
    2,749
    Rep Power
    272
    just increase your padding-top . try 10px

  4. #4
    Join Date
    Sep 2005
    Location
    in my body lar...
    Posts
    1,325
    Rep Power
    0
    just to add... preferred to use px instead of em

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to adjust this wordpress template
    By calvynlee in forum Website Design
    Replies: 38
    Last Post: 13-10-2007, 10:07 PM
  2. ASP.NET - DataGrid Export to Excel - Alignment problem
    By genzy in forum Website Programming
    Replies: 2
    Last Post: 15-04-2007, 11:21 AM
  3. between 2 date
    By meiji in forum Website Programming
    Replies: 2
    Last Post: 29-04-2005, 09:44 AM
  4. Date question
    By ngaisteve1 in forum Website Programming
    Replies: 0
    Last Post: 11-04-2004, 09:07 PM
  5. auto date
    By redzwan7 in forum Website Design
    Replies: 0
    Last Post: 10-07-2003, 03:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37