WordPress.org

Ready to get started?Download WordPress

Forums

Coraline
header text (4 posts)

  1. loucks14
    Member
    Posted 10 months ago #

    I am trying to use an h4 title with " - some text" after it in line, but the " -some text" appears below the h4 title. Can someone direct me to the css that causes this? seems to be the same for all h(x) headers. Thank you.

  2. paulwpxp
    Font hero
    Posted 10 months ago #

    In general, header element is block level element, another element following it will be display on the new line. To get it display inline, assign display inline ( or inline-block ) to that header, and make sure the following element is display inline ( or inline-block ) too.

  3. loucks14
    Member
    Posted 10 months ago #

    I see where you're going with that and it makes sense, but I tried it and no go. Maybe I'm not modifying the correct css element. This is the class I modified: ".entry-content h4" I have already changed other elements in this class with no problem, but inline is not working. Let me go further into what I'm trying to do:
    Code:
    <h4>Title</h4> - site link
    Display as:
    TITLE - site link
    I used the display: inline element in both the 'h4' and 'a' css classes with no change. Should I be floating each left as well? I thought the inline element worked as an alternative to the float...

  4. paulwpxp
    Font hero
    Posted 10 months ago #

    I've just scanned Coraline theme folder for <h4>, came up with none.

    Instead of the guess work here, please link to your site and state which part you are talking about.

    Also, if the question is purely CSS, and not really related to WP theme, please consider asking in CSS forum to get more direct and faster support.

    example
    http://csscreator.com/forum

Reply

You must log in to post.

About this Theme

About this Topic