WordPress.org

Support

Support » Themes and Templates » [Resolved] center widgets on sidebar

[Resolved] center widgets on sidebar

  • jcpcosta
    Participant

    @jcpcosta

    Hi everyone.

    This is my site ‘http://mlearning.mdsinsure.com/’

    I’d like to center widgets on the sidebar..they are too pullled to the left…can you help me? I went through the CSS but couldn’t manage it…

    thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • paul.a.cunn
    Member

    @paulacunngmailcom

    In Appearance then widgets if you have access to the html you could just change the definition of the <div> I think if you just change <div> to <div margin-left: auto; margin-right: auto;> It should work. Otherwise you will need to find the correct id to use for css. It looks like the events calendar does not have a div id so it will be tough to do that one.

    #fadeshow1 {
    margin-left: auto;
    margin-right: auto;
    }
    
    #sidebar {
    text-align: center;
    }
    jcpcosta
    Participant

    @jcpcosta

    Thanks Paul!

    I managed to fix both!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] center widgets on sidebar’ is closed to new replies.