Is it possible for me to create a CSS page file to use it as reference somewhere in the forum? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by okamii March 5th 2024, 10:12 pm

    There's an option to do that for HTML pages on Advanced > Modules > HTML & JAVASCRIPT > HTML pages management, so I was wondering if there's something like that for CSS under the admin panel too, but I can't seem to find it, thought of asking just to confirm.


    Last edited by okamii on March 5th 2024, 11:37 pm; edited 1 time in total
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6983
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by Sir Chivas™ March 5th 2024, 10:29 pm

    Hi you can find your CSS stylesheet via ACP >> Display >> Pictures & Colors >> Colors & CSS

    Read more regarding the css:
    https://help.forumotion.com/t22327-css-tutorial-for-your-forums

    Not understanding what you mean by "use it as a reference."

    okamii likes this post

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by okamii March 5th 2024, 10:49 pm

    Sir Chivas™ wrote:Hi you can find your CSS stylesheet via ACP >> Display >> Pictures & Colors >> Colors & CSS

    Read more regarding the css:
    https://help.forumotion.com/t22327-css-tutorial-for-your-forums

    Not understanding what you mean by "use it as a reference."
    By reference I mean for use later not immediately applied, if you create a HTML page from there the page won't show everywhere you go, it's just a page you can redirect users to visit it like it is an 'external resource', plus ACP >> Display >> Pictures & Colors >> Colors & CSS has limit on size
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6983
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by Sir Chivas™ March 5th 2024, 11:07 pm

    By these references for later time use, are they for the forum or html pages?

    But to answer your question, no there isn't a similar option for what you're describing. Either you use external CSS for the HTML pages by adding a link to it in the
    <head>
    section of each HTML page:

    Code:
    <head>
      <link rel="stylesheet" href="styles.css">
    </head>

    The file must not contain any HTML code, and must be saved with a .css extension.

    okamii likes this post

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by okamii March 5th 2024, 11:14 pm

    Sir Chivas™ wrote:By these references for later time use, are they for the forum or html pages?

    But to answer your question, no there isn't a similar option for what you're describing. Either you use external CSS for the HTML pages by adding a link to it in the
    <head>
    section of each HTML page:

    Code:
    <head>
      <link rel="stylesheet" href="styles.css">
    </head>

    The file must not contain any HTML code, and must be saved with a .css extension.
    Both, I'm not a HTML/CSS expert but if I used the HTML tool to create a HTML page and create a style with the <style> tag, can I import the style from that HTML page into somewhere else and reference sort of like this you did on head?
    Code:

    <link rel="stylesheet" href="styles.css">
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


    Male Posts : 6983
    Reputation : 457
    Language : EN, FR, ES
    Location : || CSS || HTML || Graphics Designs || Support ||

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by Sir Chivas™ March 5th 2024, 11:24 pm

    Sir Chivas™ wrote:

    The file must not contain any HTML code, and must be saved with a .css extension.


    No you can't do it that way. You would simply place the css as the internal style sheet.

    okamii likes this post

    okamii
    okamii
    Forumember


    Posts : 40
    Reputation : 2
    Language : English

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by okamii March 5th 2024, 11:30 pm

    Sir Chivas™ wrote:
    Sir Chivas™ wrote:

    The file must not contain any HTML code, and must be saved with a .css extension.


    No you can't do it that way. You would simply place the css as the internal style sheet.
    Sigh. I was hoping I could avoid to keep calling CSS from another websites and instead just save it locally on the forum, does Forumotion has a solution for uploading CSS files like it does with images (servimg)?
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3110
    Reputation : 245
    Language : English, Italian, French
    Location : Italy

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by Niko March 5th 2024, 11:35 pm

    Coucou @okamii

    you can instead just add this directly inside the
    Code:
    <head></head>
    section like this:
    Code:
    <style>
    //your CSS code
    </style>

    Otherwise no, you can't create a separate CSS dedicated page I am afraid :rose:

    okamii likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15167
    Reputation : 1696
    Language : English,Greek
    Location : Greece

    Solved Re: Is it possible for me to create a CSS page file to use it as reference somewhere in the forum?

    Post by skouliki March 6th 2024, 6:23 am

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules

    okamii likes this post