WordPress.org

Ready to get started?Download WordPress

Forums

List Formatting (2 posts)

  1. ricketts8
    Member
    Posted 3 years ago #

    I tried formatting a list that would go in my main content column. The changes made worked but they also reflected in my sidebars, which I don't want. Where do I change CSS to format main content without changing sidebars?

    http://emprisereview.com

    http://www.avclub.com/channels/books/
    I'm trying to make it look like that, kinda.

  2. Agus Suhanto
    Member
    Posted 3 years ago #

    Usually content and sidebar have different surrounding div. For example, content can have div which id is #content, and sidebar can have div which id is #sidebar.

    To format it differently, you put li after div' id in CSS file:

    #content li {
    }
    
    #sidebar li {
    }
    

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.