html - Override CSS File -


this question has answer here:

i using optimizepress template has css file following line part of theme: .container{width:1060px;margin-left:auto;margin-right:auto;background-color:#fff}.

i want override make width 900px.

how can without changing css file?

optimizepress theme has ability on page css tried use important not working me.

you link css file, underneath current one. in css, if have 2 styles same class, last 1 computer reads 1 gets chosen. that's why need link new css after.

so make new css file , write

.container {   width: 1060px; } 

then in html header, directly underneath linkg current css put

<link rel="stylesheet" href="path/to/yournewcssfile.css"> 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -