+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / SiteMenu - can I use my own stylesheet?

SiteMenu - can I use my own stylesheet?

5 posts, 0 answered
  1. Nattawut
    Nattawut avatar
    16 posts
    Registered:
    14 Jul 2012
    16 Apr 2011
    Link to this post
    When I add "SiteMenu" to a page or template, it renders stylesheet from "WebResource.axd" ... Can I disabled it?

    I just want to create the css stylesheet myself. Is it possible?

    Thank you very much,
    NC
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    18 Apr 2011
    Link to this post
    Hello Nattawut,

    You can create a custom masterpage and override the stylesheet in the head tags.

    Also you need to make sure that all stylesheets are inside Global 

    App_Themes/YourTheme/Global/yourcss.css

    If you put a stylesheet in your Gloabl folder, the css should be automatically loaded and applied over the control.


    Greetings,
    Victor Velev
    the Telerik team

  3. Nattawut
    Nattawut avatar
    16 posts
    Registered:
    14 Jul 2012
    18 Apr 2011
    Link to this post
    Hi Victor,

    I have done what you said. The /WebResource.axd is still rendered.

    Is there a way to turn it off?
  4. Nattawut
    Nattawut avatar
    16 posts
    Registered:
    14 Jul 2012
    18 Apr 2011
    Link to this post
    The .css files from App_Theme will render before /WebResource.axd file ... 

    It makes the stylesheet from /WebResource.axd override the stylesheet from my .css files.
  5. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    18 Apr 2011
    Link to this post
    Hello Nattawut,

    You can edit the built in templates ( which override your custom css stylesheet ) to a achieve the desired result. Please note that you have to keep the basic template as it is, otherwise your project will break. You can check the following article for more information about the embedded resources.

    Greetings,
    Victor Velev
    the Telerik team

Register for webinar
5 posts, 0 answered