Need help? Check out our Support site, then


Nishita center allignement title headers post

  1. I've searched the forum and tried different things and cant get it right. So here I am asking for help.

    1. Center the header title of all the posts

    (I've tried this and it doesn't work):

    .header {
    text-align: center;
    }

    2. Get the font bigger than +10 (the maximum I'v put it) if its possible
    3. Have the titles/headers of the post over the image of the post if its possible

    http://stanceculture.com

    I want to keep it as clean and simple as possible.
    If you have any recommendation, I'm always down.

    The blog I need help with is stanceculture.com.

  2. thesacredpath
    Staff

    1. You say "center the header title of all posts," but the class you are trying to use doesn't exist in the theme you are using, and secondly would typically be associated with the main title/tagline of the site, not post titles. If you are trying to center that actual titles of posts, then you have to look at the HTML and find the actual tag/ID/class associated with that element, which would be this:

    h2.photo-title {
    text-align: center;
    }

    2.

    body {
    font-size: 18px !important;
    }

    You will also have to adjust the line height otherwise everything is mushed together.

    p {
    line-height: 24px !important;
    }

    3. Not sure what you are asking for here. Do you want the title to actually appear to be "on" the image? If so, this would be fine if all you are going to do is photos, and a photo will always be the very first thing in a post, but if you do this and then have a post with text, or that starts out with text, the title would be superimposed over the content text.

  3. @thesacredpath
    Fascinating ... not that I'm tempted to learn CSS ;)

  4. Thanks alot @thesacredpath it was exactly what I was aiming for, codes work perfectly, as for the text over the image, I guess its a bit too much to ask for the Nishita theme. I just wanted to see if someone had an idea if it was doable, but its not a big deal :)

    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic