Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with media queries

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40613
    margaux
    Participant

    I’d like to make [my site](http://www.kjx.me.uk “”) look better on smaller screens and whilst I probably need a new design for phones, as an initial fix I am trying to use media queries. Some of the attributes aren’t recognised particularly as I try to resize the percentage width of some divs. On full screens the logo is 20% and the topNav is 75%. On smaller screens I’m trying to increase the logo to 40% and decrease the topNav to 55% so the logo doesn’t get lost.

    Is this doable? Can someone point out where I’m going wrong? Thanks

    #113378
    Senff
    Participant

    At one point, where you assign the 40% in your CSS, that line ends with a colon — and it should be a semi-colon of course. I think that’s what you missed?

    #113387
    margaux
    Participant

    ahhh thanks! Should have spotted that – sorry.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.