• Resolved Devilz

    (@devilzk)


    Hey!

    Is there a way to change how posts are displayed to keep one consistent list, ex: info on left and featured image on right.

    In other words, a way to turn off switching which side the featured image is on, to keep it on only one side.

    And whilst I’m here, thanks for creating such a cool theme! I’m heavily editing the style of it for my needs but the core layout and features are great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    I’m glad you like it!

    Here’s the CSS you can add to keep the Featured Images on the right side for all posts:

    @media all and (min-width: 56.25em) {
    	
    	.excerpt.even .excerpt-container {
    		float: none;
    	}
    	.excerpt.even .featured-image {
    		left: auto;
    		right: -1px;
    	}
    }

    I recommend putting this CSS and all other CSS edits into the Additional CSS section in the Customizer.

    Thread Starter Devilz

    (@devilzk)

    Thanks Ben!

    Exactly what I was looking for. I wanted to see how it’d look, but I hadn’t a clue what was being used to do it (haha).

    I hope you don’t mind me asking whilst I’m here:

    Is additional padding on this going to cause any issues I’m unaware of, or is this fine to do? So far it seems fine, but just wanted to make sure.

    .excerpt-container {
    	padding: 55px;
    }
    Theme Author Ben Sibley

    (@bensibley)

    It should be fine. Here’s a quick visualization of the regular padding VS the change you’ve added: https://pics.competethemes.com/7b13d6e42af2. The padding is shown in green.

    If you increased the padding to a really high value like 150px, the space available for the text would get very small making it extremely tall, but 55px looks to work well.

    Thread Starter Devilz

    (@devilzk)

    Thanks for the speedy and informative replies! I really appreciate it.

    I’m glad the padding is fine too. Just wanted to make sure it wasn’t breaking anything I couldn’t see. I guess I could use chrome’s web tools but I’m a dumbie!

    Still not ready to launch yet, but I think the padding works out well hopefully!

    I’ll mark as resolved.

    Theme Author Ben Sibley

    (@bensibley)

    Sure thing! The site looks great ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change post alternation?’ is closed to new replies.