# Registering assets for mobile and desktop - making site responsive

**URL:** <https://meta.discourse.org/t/registering-assets-for-mobile-and-desktop-making-site-responsive/65041>\
**Category:** Development\
**Created:** [Juin 24, 2017, 5:04 UTC](https://meta.discourse.org/t/registering-assets-for-mobile-and-desktop-making-site-responsive/65041 "2017-06-24T05:04:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tech\_Domain](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tech_domain/32/155321_2.png) [@Tech\_Domain](https://meta.discourse.org/u/Tech_Domain)\
**Post date:** [Juin 24, 2017, 10:32 UTC](https://meta.discourse.org/t/registering-assets-for-mobile-and-desktop-making-site-responsive/65041/3 "2017-06-24T10:32:02Z")

</div>

@vinothkannans Thanks for answer.  
But I had tried this after searching github repository. It didnt work for me, as the result was same as before.

I also tried another variation from this repo

> <https://github.com/crowdint/reading-reviews/blob/73de8ee8c8f3fb41ada0cd83a092f346ece26c2a/plugins/emoji/plugin.rb>

`register_asset('stylesheets/topiclist.scss', :desktop)`  
But this too didnt work.

I do not know Ruby very well, are the `:desktop` and `:mobile` variables available in plugin.rb file which control which stylesheet should be applicable?

---

_[View the full topic](https://meta.discourse.org/t/registering-assets-for-mobile-and-desktop-making-site-responsive/65041)._
