Added theme not showing up in page typesCreated 6 years ago by minkyov
I have followed the videos on theme creation and development but I faced a few problems. When I add the theme I can use it as a starter page but if I want to create a page with the theme as it's layout I don't have the theme showing up (I only have the default). The other problem is that I added a picture in the theme resource folder and I have accessed it from css as a background using background: url(the path to the picture) and some other options and it gets displayed just fine. Then I had to create another css class with absolutely the same settings but a different picture and when I did that the picture didn't get displayed. I have tried rewriting everything from scratch, I have changed the picture to another and nothing happens.
I assume you're referring to
layoutsnot the theme? Can you send me the file listing of
your-theme/resources/views/layoutsso I can see what might be happening? You activated the theme in settings or
For images in CSS - try using
asset_path. This way you won't have a URL in your compiled CSS.
You can use that with the CSS just mind your double / single quotes!