0

I installed Porto theme in Magento, and I can see that the images and overall layout is from this theme. But, it is still taking the styles.css form base/default and displays firebug error, because it doesn't even exist. Also, the design looks distorted and I can clearly see that CSS is missing. These are some of the settings and directory structure:

  • Path to my porto theme in app is: app/design/frontend/smartwave/porto
  • Path to my porto theme in skin is: skin/frontend/smartwave/porto

Things I did and things I tried:

  • In General -> Design I set the package to smartwave,
  • In General -> Design I set theme section fields (skin, layout, default) to porto.
  • I cleared the cache as well.
9
  • Is the styles.css on the server in the porto folder? And did you set it in System->Design as Theme? Commented Oct 6, 2016 at 14:33
  • The Porto theme doesn't provide the styles.css file at all. I can see it working properly on another server though, another installation with Porto. And on that server, there is no styles.css. And no, it's not set in System -> Design as Theme. Commented Oct 6, 2016 at 15:05
  • Which .css is loaded there then? Commented Oct 6, 2016 at 15:07
  • No .css is loaded in System -> Design. Commented Oct 6, 2016 at 15:09
  • Add it there and choose your theme Commented Oct 6, 2016 at 15:09

1 Answer 1

1

if you configured magento right to choose your theme and your theme is correct installed than you inserted a wrong path to your styles.css in your theme´s layout XML.

as far as i can see base theme has no styles.css _> that could be the reason for your 404 error

12
  • Andre, I added that info to the question. Thanks. Commented Oct 6, 2016 at 15:17
  • I don't have a 404 error, I just have a non-existing file, named styles.css being asked for by Magento. Commented Oct 6, 2016 at 15:18
  • so your theme has no styles.css at all? than maybe in your themes page.xml or local.xml it is defined to use a styles.css. maybe rename your main css file in styles.css _but could be that than your main files is missed than Commented Oct 6, 2016 at 15:24
  • Yes, for some reason it doesn't have it. Commented Oct 6, 2016 at 15:25
  • 1
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review Commented Oct 6, 2016 at 15:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.