[Resolved] Equal width of all 3 on desktop with css (2 columns and right sidebar)

Home Forums Support [Resolved] Equal width of all 3 on desktop with css (2 columns and right sidebar)

Home Forums Support Equal width of all 3 on desktop with css (2 columns and right sidebar)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1365404
    Anil

    Hi

    Can I have Equal width of all 3 on desktop with css (2 columns and right sidebar)?

    Regards

    #1365431
    David
    Staff
    Customer Support

    Hi there,

    try this:

    @media (min-width: 769px) {
        #primary {
            width: 66.66%;
        }
        #right-sidebar {
            width: 33.33%;
        }
    }
    #1365441
    Anil

    Hi David, it is better than earlier

    1st column width approx 403
    2nd column width approx 403
    sidebar width approx 413

    Any further tweak……

    #1365472
    David
    Staff
    Customer Support

    Oops – don’t know what happened to my rounding calculator. I updated the code above.

    They should just be a straight 2/3rds vs 1/3rd split.

    #1365487
    Anil

    Thanks David, it is resolved with following parameters as I readjusted it due to separating space…

    @media (min-width: 769px) {
        #primary {
            width: 67.2%;
        }
        #right-sidebar {
            width: 32.8%;
        }
    }
    #1365490
    David
    Staff
    Customer Support

    yeah – pesky spacing 🙂
    Glad you got there

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.