1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CSS Source

Discussion in 'XenForo Questions and Support' started by ajnos, Apr 12, 2011.

  1. ajnos

    ajnos Member

    Where does the style come from?

    In some boards it's linked as css file
      	<noscript><style type="text/css">.JsOnly { display: none !important; }</style></noscript>
    	<link rel="stylesheet" type="text/css" href="css.php?css=xenforo,form,public&amp;style=1&amp;d=1302607486" />
    	<link rel="stylesheet" type="text/css" href="css.php?css=moderator_bar,node_category,node_forum,node_list,node_ragtek_article,sidebar_share_page&amp;style=1&amp;d=1302607486" />
    		<script type="text/javascript" src="js/jquery/jquery-1.4.4.min.js"></script>
    	<script type="text/javascript" src="js/jquery/jquery.xenforo.rollup.js?_v=3cd86e19"></script>
    	<script type="text/javascript" src="js/xenforo/xenforo.js?_v=3cd86e19"></script>
    	<link rel="canonical" href="http://localhost/xenforo/" />
    	<meta name="description" content="Forum software by XenForo" />
    and in some it's direct in the html (like on xenforo.com)
    <!DOCTYPE html><html id="XenForo" lang="en-US" class="Public LoggedIn" xmlns:fb="http://www.facebook.com/2008/fbml"><head><meta charset="utf-8" /><base href="http://ragtek.org/xenforo/" /><title>ragtek's xenforo Add-ons</title> <noscript><style type="text/css">.JsOnly { display: none !important; }</style></noscript><style type="text/css" style="display:none">@CHARSET"UTF-8";/**//**/html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{v....
  2. bambua

    bambua Well-Known Member

    The 2 stylesheet lines at the top generate them. If you click on the links for them it will take you to the stylesheet. They are generated dynamically based on your css templates and the style properties.
  3. Floris

    Floris Guest

  4. ajnos

    ajnos Member

    You didn't understand me:(
    I mean, that on some xenforo installations the css code is INLINE and in some it's linked as file.
    In vBulletin standard was INLINE and if you wanted, you were able to store the css file in the file system.

    In xenforo acp, i couldn't find any setting for this, so i don't understand this behavior.

    Attached Files:

  5. Brogan

    Brogan XenForo Moderator Staff Member

    All templates are stored in the database.
    The only things stored in the file system are avatars and attachments.

    There are no ACP related options for the css templates.
  6. ragtek

    ragtek Guest

Share This Page