Support » Themes and Templates » Twenty Eleven Posts with borders

  • Resolved Yro


    Hi all.

    I need some help here.

    Im with Twenty Eleven CHILD THEME here and I want to make the posts to be rounded by borders and I want to make these borders (squared) with transparency.

    Is that possible? Can enybody help me with it?

    Sorry about my english.

Viewing 5 replies - 1 through 5 (of 5 total)
  • So..

    I found some infos about my asking for help and Ill try to explain more what I want here…

    Take a look at this link:

    I want my posts to be showed in blocks like “outset (border:6px)” item.

    Is that possible in Twenty Eleven Child theme?

    Please, somebody help me with it.

    Yes using the post_class(), have a read of this for different ideas on setting the post class.

    All we do is add another ‘custom’ class to the post, so we can style it.

    Here is how you might add to your child themes style.css:

    .box-1 {
    	float: left;
    	min-height: 1px;
    	padding: 1em;
    	border: 6px inset #9FB6CD;

    A variation:

    .box-2 {
    	float: left;
    	min-height: 1px;
    	padding: 1em;
    	border: 5px solid #F1F1F1;
             box-shadow: 0 1px 2px rgba(51, 51, 51, 0.65);

    Copy content.php to the child theme:

    <?php post_class(); ?>>

    change to

    <?php post_class( 'box-1' ); ?>>


    <?php post_class( 'box-2' ); ?>>



    Well, Ive tried this code with no lucky:

    .entry-header .entry-meta {
    border:1px outset (border:2px) #F0F0F0;

    Im learning CSS yet… Please help me with it..

    Edit.: sorry dude. Iwas writing this when You post your help. Ill try it right now and post here my results…

    OMG. Thats beautiful!!!

    Thank You man. Im really happy with Your help here.

    Ill post another topic in this forum for other question I have.

    Thanks again dude.

    Problem solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Twenty Eleven Posts with borders’ is closed to new replies.