Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setting Up A Third Party Theme

Bo Pritchard asked in General

So I watched a video on the site on this topic but wasn't able to make any progress with my site.

I have an existing site that I wanted to refresh so I purchased a theme from themes.getbootstrap.com.
Here's what I've done so far:

  • unzipped the file
  • copied the 5 folders (css, fonts, images, js, scss) from the theme's assets folder
  • pasted the folders in my rails project folder vender/assets/themes/guidebook/
  • added Rails.application.config.assets.paths << Rails.root.join('vendor') into my initializers/assets.rb file
  • restarted my app but it's obvious that the styles are not there

I'd appreciate any help

Reply

Are you using Sprockets/asset pipeline? Have you imported the files (css and js) into both the application.{css,js}?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 81,842+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.