• Hello,

    I just wanted to know the best way to add a post inside two columns, one for the text, one for the images.

    I that possible?

    Best wishes…

Viewing 11 replies - 1 through 11 (of 11 total)
  • Using CSS and floats.

    CSS Tutorials
    Learning CSS

    Thread Starter Loïc Levêque

    (@luisobispo)

    Thank you, and how do I do to have two columns of text?

    Table inside html post?

    That depends, in part, upon where the text is being pulled from but it would still need CSS to float 1 or both divs. Tables shouldn’t be used for layout anymore.

    Thread Starter Loïc Levêque

    (@luisobispo)

    Thanks you esmi,

    The thing I do not understand (and not the only one), is how to control the design of the content of the post.

    If I put two divs, on image, one text, it’s ok.
    But how do I manage to control four or five different blocks of text on the same post?

    Can I create a different style in the css for each paragraph, like ‘format’ in the editing page, and then use “class=” in the html? Is that the proper to work on this?

    Thread Starter Loïc Levêque

    (@luisobispo)

    By the way, I can see “format” when i work on the edit page. Are these formats controlled by the css as well? I suppose yes. I’m just wondering why I cannot see these formats on the css. I suppose these formats are in the wordpress css, am I wrong?

    You give each block a class or id and then control out each one is displayed using your theme’s stylesheet.

    Are these formats controlled by the css as well?

    Sorry? What do you mean by “formats”?

    Thread Starter Loïc Levêque

    (@luisobispo)

    well, when I open the edit page, I do have the possibility to change the text in bold for exemple, or use an existing formated liste: paragraphe, header 1, header two, etc…

    I was just wondering if I can control these formats as if it was a div. Writing that I feel that’s not the right way to work… but then it could.

    Thanks esmi. Very nice to have answers. truly.

    No – that wouldn’t work on archive (post listing) pages. The best approach would be to edit your theme template files – catgeory.php, archive.php, tag.php and, obviously, index.php – and add your classes and any additional Loop control there.

    Thread Starter Loïc Levêque

    (@luisobispo)

    ok

    bcause if I add a styles in the style.css called “#paragraph”, then create div directly in html in the post with the “class=paragraph” it will not work?

    Just a bit frightening to edit the php files and loop, not good at that at all.

    Something else, if I may ask, I would like a static page called to be the index and change the index page to be the blog page on my menu.
    How do I do that?

    That’s because #paragraph refers to an element with id="paragraph. If you want to use a class, use .paragraph in style.css.

    To change your front page to a static page (and use another page as your blog/posts page), see http://codex.wordpress.org/Creating_a_Static_Front_Page

    Thread Starter Loïc Levêque

    (@luisobispo)

    Yeap, wonderful, it works.

    You are great, very helpfull indeed, excellent.

    Will work on all this now…

    L

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to make a post inside columns?’ is closed to new replies.