New Topic

header different in front page from posts and pages

Home › Forum › Customization › header different in front page from posts and pages

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  StartupWP 5 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #905

    anocatave
    Participant

    I used a child theme and css to design the header in my site. However, when you click on the “Hello World” post or the “Sample Page” the site title is below the header overlapping the post/page title.

    Can you tell me what I’m missing? I can’t find any styling for the header that is specifically for posts and pages.

    #906

    StartupWP
    Keymaster

    Link to your website please.

    Also, what files do you have in your child theme?

    #907

    anocatave
    Participant

    my site
    I have the following files in the child theme (from StartupWP) header, footer, and index.php. And the style.css and rtl.css that was created by the One Click Child Theme pluglin.

    #910

    StartupWP
    Keymaster

    The problem is that the site title structure is different on certain pages for SEO reasons.

    So remove the margin from:

    #site-title a, #site-title h1 a, #site-title h1 {
      color: #344997;
      font-family: Garamond,Georgia,serif;
      font-size: 40px;
      font-weight: bold;
      margin: -100px 0 0;
      padding: 0 0 0 125px;
      text-shadow: 0 0 0 #344997;
    }

    And instead add:

    #site-title {
      margin: -100px 0 0;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.