Post in double column when open
-
Hello Ben,
I’d like to ask you some help with a fixing.
Inside a post section i removed the left-sidebar. And i’d like that in computer version (with wide screen) the post fills the space that remains free, occupying two columns.
At the moment i had a class (‘Pezzo’) to the article tag in the content.php file:
here’s the little piece of code<div <?php post_class(); ?>> <?php do_action( 'ct_mission_news_post_before' ); ?> <article class='pezzo'> <?php ct_mission_news_featured_image(); ?> <div class='post-header'>
and then i tried to re-size the dimensions with some CSS:
.pezzo { background-color: coral; /* i add color on background just to see changements */ width: 720px; position: relative; left: -230px; }
The problem is that changements don’t adapt to screen resizing.
Have you some advices on how operating on?
There’s another simple way to move?Thank you very much.
Christianp.s. I had another little thing to ask you: how can i rewrite the ‘read more…’ at the end of a excerpt?
The page I need help with: [log in to see the link]
- The topic ‘Post in double column when open’ is closed to new replies.