Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Right now your CSS rule is like this:

    .single .hentry .entry-title {
        font-size: 36px;
        margin-bottom: 10px;
        margin-left: calc(33.333%);
    }

    CHANGE it to this:

    .single .hentry .entry-title {
        font-size: 36px;
        margin-bottom: 10px;
    }

    – If have not already, consider creating a child theme otherwise all your customization will be overwritten when you next update your theme.

    Alternately:
    – If your theme has a custom CSS option, use that to add the CSS.
    – If you are using WordPress 4.7+, use the “Additional CSS” option in the customizer.
    – If not, install the plugin Simple Custom CSS

    Thread Starter photocq

    (@photocq)

    Hello, thank you for your response.

    I actually do customize everything in a child theme, however, yet I did not have to erase any values from the original theme, I’ve only added some.

    So my question is: what should I do in the child theme style.css: simply add the code you provided?

    Moderator t-p

    (@t-p)

    So my question is: what should I do in the child theme style.css: simply add the code you provided?

    Yes. Add this to bottom of your child theme:

    .single .hentry .entry-title {
        font-size: 36px;
        margin-bottom: 10px;
    }
    Thread Starter photocq

    (@photocq)

    Unfortunately it does not seem to work.

    Moderator t-p

    (@t-p)

    try like this:

    .single .hentry .entry-title {
        font-size: 36px;
        margin-bottom: 10px;
       margin-left:0!important;
    }
    Thread Starter photocq

    (@photocq)

    That worked great. Thank you very much!

    Moderator t-p

    (@t-p)

    You are welcome 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Single post title alignment’ is closed to new replies.