1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress Width

Discussion in 'WordPress' started by tunescool, Jul 26, 2015.

  1. #1
    i have two themes and somehow the width doesnt work out. it was fine until i just noticed they werent a fixed width and i changed them to fixed

    i have it set to 1300px

    width: 1300px;
    width: fixed;

    which should span the width of my browser, it did until i added the fixed, now they look like this

    http://www.nookselfimprove.net

    what can i do to get actually 1300px
     
    tunescool, Jul 26, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Why in the blazed would you want to? NOBODY in their right mind uses fixed px metrics nowadays. If you don't understand why, you really shouldn't be doing websites to begin with.
    Here's a couple examples:
    viewed on a resolution less than 1300 px wide, you won't see the whole content without sideways scrolling.
    On a cell-phone (or any other mobile / tablet) you'll get no responsive design - pretty much making the site useless on any mobile device.

    Now, again, why in the world would you want to do something so stupid?
     
    PoPSiCLe, Jul 26, 2015 IP
  3. lawrenc3

    lawrenc3 Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Thats why you use media queries when you use set px widths.

    if you want it to be full width you would put

    body {
    width:100%;
    }

    in your css file.

    Please correct me if i am wrong and misread what you are asking
     
    Last edited: Jul 28, 2015
    lawrenc3, Jul 28, 2015 IP