WordPress.org

Support

Support » Themes and Templates » [Resolved] Sidebar titles from to

[Resolved] Sidebar titles from to

  • Hello – I really hope I can get some help:
    The sidebar widget titles are automatically in <h1> with blue background.
    Finally, I have 5 <h1> titles on one pages, which may cause some bigger trouble concerning SEO / Google etc.

    So I wanted to change the sidebar titles from <h1> to <h2> so i did:

    .sidebar h1.widget-title{ — changed to h2.widget-title
    background:#F1F2F3;
    border-left: 5px solid #01AEFD;
    font-size: 22px;
    text-transform: uppercase;
    padding: 10px 15px;
    line-height: 24px;

    Unfortunately, the blue background disappears when I do this. Which changes do I have to make in order to keep the blue background with <h2> Sidebar titles?

    Hoping to hear from you soon and thanks in advance for your efforts,

    Susanna

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello Susanna,

    This may be a simple fix, but it would really help if you could post a link to your site so i could take a look.

    Dear Michael,

    my website: http://www.nexus-webdesign.li 🙂 – Thanks for your support

    Theme Author Access Keys

    @access-keys

    To change the H1 tags in to H2 you need to have a change in code file(inc/extra.php) in the Register widgetized area section.. I have commented out there in the file..
    After that you can alter .sidebar h1.widget-title to .sidebar h2.widget-title in style.css

    But editing directly into the code will cause your changes to vanish if you update the theme and not updating theme means you can relish our future updates with more features..

    So better make edit implementing child theme approach..

    Thank you, I made these changes in (inc/extra.php) as well as in style.cc, – but the problem remains, the blue background disapperas..

    Do you have another idea?

    Thanks in advance,

    Theme Author Access Keys

    @access-keys

    I didn’t see the changes in your website..
    Please follow the above mentioned process.. it will definitely work..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Sidebar titles from to’ is closed to new replies.