0
Welcome Guest! Login
0 items Join Now

background image

    • REINHORN's Avatar
    • REINHORN
    • Jr. Rocketeer
    • Posts: 23
    • Thanks: 0

    background image

    Posted 11 years 3 months ago
    • Hi! im using the clarion template with a custom.css.
      I would like to set a backgournd image.
      How would i do that?
      Thanks!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: background image

    Posted 11 years 3 months ago
    • Please do not post extensions/template specific questions in the "General Discussion" forum. You should post in the extension forum or template forum as appropriate. Most of these forums are for members who have a current PAID membership. Our priority is always to assist paying members.

      Thank you for your understanding.

      Your membership appears to have expired?
      body {
           background-image: url("yoururlgoeshere");
      }
      This is how to create a custom CSS compatible with Gantry 4...

      Simply create a file called "<TEMPLATENAME>-custom.css" and put this file in the CSS folder of the template (where <TEMPLATENAME> is the name of the template as seen in template manager e.g. rt_fracture). GANTRY4 will automatically load this CSS file. If you wish, you can also have browser specific files by appending, for example, "-ie9" making the filename "<TEMPLATENAME>-custom-ie9.css"

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • REINHORN's Avatar
    • REINHORN
    • Jr. Rocketeer
    • Posts: 23
    • Thanks: 0

    Re: background image

    Posted 11 years 3 months ago
    • Thanks for your reply!
      Im sorry for posting in the wrong place.
      I did what you said and added in the ccs "no repeat" now the img is just appearing on the top left of the screen. I want it to strech It out as a backgournd but i cant give it domenstions because I want it to be responsive. Would you be able to assist me with that?
      thanks!
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: background image

    Posted 11 years 3 months ago
    • body {
           background-image: url("yoururlgoeshere");
           background-size: cover;
           background-repeat: no-repeat;
      }

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.070 seconds