• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Author Date Display Position Problem

Author Date Display Position Problem

  • Unknown's avatar
    activecore · Member · Jan 13, 2008 at 11:20 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    Hi all, I’m hoping that someone can help me out with my small CSS problem.

    I’m using the Ocean Mist theme with the custom CSS upgrade and I want to get the author and date to display underneath the post title as opposed to next to it.

    Like this persons blog: http://leeartsandsciences.wordpress.com/

    Not as mine is now: http://activecore.wordpress.com/

    I have tried various things like float, padding and margin but no matter what I do the author/date always pushes the title below it.

    I thought it might be an issue with how they are being called but unfortunatley its gone beyond my understanding off CSS and i’d greatly appreciate if someone could point me in the right direction.

    Thanks in advance to anyone with helpful advice.

    Best
    ActiveCore

  • Unknown's avatar
    vivianpaige · Member · Jan 13, 2008 at 11:55 pm
    • Copy link Copy link

    I’m no CSS expert but in looking at the differences between the CSS on the two blogs, I don’t see that yours contains the same title element. I see this on the other blog:

    .title {
    	position:relative;
    	float:left;
    	display:block;
    	width:543px;
    	background:url('images/bg_h2.gif') bottom repeat-x #E2EBF8;
    	margin:0 0 18px;
    }

    Perhaps there is something in there. I notice that the post titles on your blog are on two lines while on the other blog it is only on one line.

  • Unknown's avatar
    activecore · Member · Jan 14, 2008 at 12:15 am
    • Copy link Copy link

    Thanks for the reply Vivian,

    The .title change didn’t seem to work but the 2nd thing you identified is what I noticed earlier as well, I just wasn’t sure exactly what piece of code was telling it to do that differently.

    I narrowed the following pieces of code down as being the ones that I think need to be changed:

    This one seems to control the post title:

    #content .postwrapper .title h2 {
    font-family:Helvetica;
    text-transform:none;
    background:url(‘http://i41.photobucket.com/albums/e269/Tenmawarau/images/icon_entry1.gif’) 24px 50% no-repeat;
    padding:9px 100px 12px 42px;
    }

    This one seems to control the author and date:

    .title small {
    float:right;
    color:#67939B;
    padding:14px 24px 0 0;
    }

    I spent hours adding and removing various things but with no sucess, sadly i’m not a very logical person.

    Thanks for your continued help.

  • Unknown's avatar
    vivianpaige · Member · Jan 14, 2008 at 12:50 am
    • Copy link Copy link

    OK, again, looking at the CSS on the other blog:

    .title small {
    	position:absolute;
    	bottom:1px;
    	left:42px;
    	color:#67939B;
    	display:block;
    }

    Notice that your title is set to float to the right while the one above has the position set for absolute. You may want to try that.

  • Unknown's avatar
    activecore · Member · Jan 14, 2008 at 2:05 am
    • Copy link Copy link

    Thanks a lot Vivian, I have it mostly worked out now.

    The position:absolute seemed to be the key as you thought.

    I’ll set this as resolved, thanks again!

  • Unknown's avatar
    vivianpaige · Member · Jan 14, 2008 at 2:45 am
    • Copy link Copy link

    Glad to have been able to help ;)

  • The topic ‘Author Date Display Position Problem’ is closed to new replies.

Tags

  • author
  • author date
  • CSS
  • post title
  • Theme - Ocean Mist

About this topic

  • In: CSS Customization
  • 2 participants
  • 5 replies
  • Last activity 18 years
  • Latest reply from activecore

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions