html - Loading a css file to Magento -
So I basically got my full CSS layout and I want to change the layout of my Magnavento frontend. I have seen in this post: but it is not loading in my CSS. I did this:
I added custom layout updates to XML:
& Lt; / References & gt; And I found this in my html editor:
& lt; Div class = "header" & gt; & Amp; Nbsp; & Lt; / Div & gt; & Lt; Div class = "header_2" & gt; & Amp; Nbsp; & Lt; / Div & gt; Just in case: CSS
.header {width: 80%; Margin-left: 10%; Height: 15%; / * Border-radius: 12px; * / Background color: white; } .header_2 {width: 80%; Margin-left: 10%; Height: 5%; Background color: gray; Font-size: 200%; } My style.css is in this directory: / skin / frontend / default / csstest / I also tried to put it in: skin / Frontend / default / default / css / Am I missing something?
You can also enter your csstest / style.css in the CSS folder.
& lt; Verb method = "addItem" & gt; & Gt; Type & gt; Skin_css & lt; /type><file>css/csstest/style.css/file></action>
Comments
Post a Comment