Forums

How to make a post inside columns? (12 posts)

  1. luisobispo
    Member
    Posted 2 years ago #

    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...

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Using CSS and floats.

    CSS Tutorials
    Learning CSS

  3. luisobispo
    Member
    Posted 2 years ago #

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

    Table inside html post?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  5. luisobispo
    Member
    Posted 2 years ago #

    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?

  6. luisobispo
    Member
    Posted 2 years ago #

    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?

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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"?

  8. luisobispo
    Member
    Posted 2 years ago #

    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.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  10. luisobispo
    Member
    Posted 2 years ago #

    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?

  11. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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

  12. luisobispo
    Member
    Posted 2 years ago #

    Yeap, wonderful, it works.

    You are great, very helpfull indeed, excellent.

    Will work on all this now...

    L

Topic Closed

This topic has been closed to new replies.

About this Topic