Accesspress Lite
[resolved] Sidebar titles from to (6 posts)

  1. everest111
    Posted 1 year ago #

    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
    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,


  2. Michael Smith
    Posted 1 year ago #

    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.

  3. everest111
    Posted 1 year ago #

    Dear Michael,

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

  4. Access Keys
    Theme Author

    Posted 1 year ago #

    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..

  5. everest111
    Posted 1 year ago #

    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,

  6. Access Keys
    Theme Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic