• Resolved preso

    (@preso)


    I’m creating a child theme with the Simplest theme as the parent. I’m trying to center and enlarge the header text, but I don’t see a difference in the preview.

    Following the child theme name and template name, this is the code I’ve entered into the stylesheet:

    @import url(“../simplest/style.css”);

    h1 {font-size: 3.0em;}
    h1 {text-align: center;}

    Am I missing something? Can somebody please tell me why these changes aren’t visible in my child theme preview?

Viewing 4 replies - 1 through 4 (of 4 total)
  • is that h1 the blog title and linked to the home page?

    if so, the style might be overwritten by some other style, maybe the h1 a style, or something more specific.

    without more details, i am only guessing.

    link to the site and the child theme activated?

    Thread Starter preso

    (@preso)

    The child theme hasn’t been activated yet, so I can’t provide a link to the site. Here’s parent theme’s stylesheet (https://pastebin.com/xsPdpZ9z). Perhaps you can determine what controls the blog title’s appearance from there.

    there are no obvious styles that would overwrite your child themes styles.

    what happens if you activate the child theme for a few minutes – does the h1 styles take effect then?

    (remember you may have to reload the page in the browser, to clear the ‘old’ styles; or press ‘ctrl f5’ at the same time, to clear the browser cache)

    Thread Starter preso

    (@preso)

    The changes appear when I activate the theme. Thanks for your help. I’ll mark this as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering and adjusting header text’ is closed to new replies.