Forums

[resolved] Change header tags in sidebar from to ? (12 posts)

  1. MTPrower
    Member
    Posted 1 year ago #

    I'm trying to change the header tags in my sidebar from <h2> to <h3> to improve search engine optimization.

    Problem is, I can't find what file they are in to edit them. I searched for "sidebar" in most of the files I have, and couldn't find header tags.

    My site is

  2. MTPrower
    Member
    Posted 1 year ago #

    Dern link button...

    My site is http//www.sonicreboot.com

  3. Samuel B
    moderator
    Posted 1 year ago #

    look in your theme's style.css for what controls that
    likely this block

    #sidebar .block_inside h2, #sidebar .block_inside h3 {
    color:#C5E2F2;
    font-size:1.1em;
    padding-left:55px;
    text-align:center;
    text-shadow:1px 1px #000000;
    }
  4. MTPrower
    Member
    Posted 1 year ago #

    That doesn't tell me where to find the HTML for the sidebar header tag

  5. Samuel B
    moderator
    Posted 1 year ago #

    there is no html with wordpress
    that stuff is controlled by the style sheet

  6. MTPrower
    Member
    Posted 1 year ago #

    Dude, you don't get I'm talking about.

    I am trying to change the sidebar header from <h2> to <h3>.

    Changing text in the CSS is just going to change the style of an <h2> or <h3> tag. It's not going to turn my sidebar header into an <h3>!

    When you post incorrect information to a question, you ruin the chances of it getting a correct answer, because people like to respond to questions with fewer replies. Thank you for ruining my question, especially since I'm not allowed to repost it and try again for new answers!

  7. aphill70
    Member
    Posted 1 year ago #

    I assume you are using widgets to display your sidebar?

    if this is the case then in your functions.php

    there should be a line that has register_sidebar()

    the parentheses will possibly look like

    register_sidebar(array())

    if there is an array you can simply add or change the before and after title options to h3 tags.

    for reference please check out this codex page
    http://codex.wordpress.org/Function_Reference/register_sidebar

  8. Samuel B
    moderator
    Posted 1 year ago #

    Thank you for ruining my question, especially since I'm not allowed to repost it and try again for new answers!

    get a grip - dude! nothing is ruined and if I don't understand, I apologize

  9. MTPrower
    Member
    Posted 1 year ago #

    @Samuel B

    Actually, I have seen a lot of this forums, and if you don't get a good answer the first time or two, people later who might have responded often won't because of the larger number of replies.

    Also, yeah, I was frustrated, but not to the point of what you thought. People on the internet read into emotions too much. They have a habit of reading between the lines of what is said to interpret the emotion that a person had when typing.

    It doesn't work for me. I don't have emotions in a sense (pretend you believe me). You gotta take my words literally and at face value. I don't need to "get a grip". Like what I am saying now-- it's not about how I feel, or about criticizing you. I'm just saying this for literal, practical, informative reasons.

    But thanks for trying to help.

  10. Samuel B
    moderator
    Posted 1 year ago #

    ok - so post your question again - I won't interfere or delete it

  11. MTPrower
    Member
    Posted 1 year ago #

    @Samual B
    Actually, I followed Aphil70's advice. I found where the tags were in the HTML. You gave me the wrong answer; I don't think you understood what I was asking.

    Thanks for trying to help, and thanks for understanding.

  12. MTPrower
    Member
    Posted 1 year ago #

    @Aphill70
    Thank you so much. That was what I was looking for.

Topic Closed

This topic has been closed to new replies.

About this Topic