• Just installed Customizr and it looks great. I do however want to center my post titles but I’m not sure how. It’s not a regular style.css file in this theme, so I’m not sure if I should make a child theme or what I should do.

    This is my site, btw – https://pugsheaven.com/

    I’d also like to add a Facebook like button to my header like it is on this site: https://www.iizcat.com/ Any ideas as to how to do it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • It’s recommended that you create a child theme. It’s very simple to create one, Go here.

    Try this to center your titles

    /* Center Page Title  */
    .page h1.entry-title {
    text-align:     center;
    color:          #5a5a5a;
    }

    Your website is pretty cool btw, I gave a like rating to the “Pugvengers”! xD

    Remove the color property if you don’t want it. I forgot to take it out :p

    Thread Starter larsjorgenbr

    (@larsjorgenbr)

    Awesome, thanks! I’ll try it right away.

    Thread Starter larsjorgenbr

    (@larsjorgenbr)

    Tried it now, didn’t work.

    My stylesheet:

    /*
    Theme Name: Customizr Child
    Theme URI: https://pugsheaven.com/
    Description: My description
    Author: Pugsheaven.com
    Author URI: https://pugsheaven.com/
    Template: customizr
    Version: 1.0.0
    */

    /* Center Page Title */
    .page h1.entry-title {
    text-align: center;
    }

    Did I do something wrong? Oh, and I also put the functions.php in the child folder.

    I’m no pro at this, I’m just doing what I can. Try this one –

    h1.entry-title, h2.entry-title {
        text-align: center;
    }
    Thread Starter larsjorgenbr

    (@larsjorgenbr)

    Thanks for trying. ??

    Tried that one too but it didn’t work. Shouldn’t I be using the entire stylesheet from the parent theme and then edit that, or will it work if I just edit in small snippets of code in the child theme?

    Sorry it didn’t work ?? All changes should go into the child theme. You can try and find the answer to your questions on the themes and co site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Center post title and add Facebook button to header’ is closed to new replies.