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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -