0
Welcome Guest! Login
0 items Join Now

SOLVED Using pictures as a background of material

    • Anatoly's Avatar
    • Anatoly
    • Newbie
    • Posts: 18
    • Thanks: 0

    SOLVED Using pictures as a background of material

    Posted 8 years 8 months ago
    • Hi!
      I use Gantry5 Xenon, Joomla! 3.6.2 Stable, default editor - JCE.
      I have to make the background from the image, which I uploaded to the site.
      If I change background in any material by editor`s function “style CSS”, in the preview window shows the the correct result. However, after saving, all changes disappear. The document is returned to its original state.
      Could you help me? Thank you!
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22303
    • Thanks: 3229
    • messin' with stuff

    Re: SOLVED Using pictures as a background of material

    Posted 8 years 8 months ago
    • Anatoly's Avatar
    • Anatoly
    • Newbie
    • Posts: 18
    • Thanks: 0

    Re: SOLVED Using pictures as a background of material

    Posted 8 years 8 months ago
    • Thank you very much for your response!

      I created my file: rt-massage.ru/ templates / rt_xenon / custom /scss/custom.scss
      and uploaded picture in: rt-massage.ru/images/background/fonpage_small.jpg
      in my site www.rt-massage.ru

      If in custom.scss:
      .myfone {
      background: # DB9689;
      }
      After click «Recompile CSS» - article`s background changes.

      If:
      .myfone {
      background-image: url ( "rt-massage.ru/images/background/fonpage_small.jpg");
      }
      After click Recompile CSS - nothing.

      What am I doing wrong?

      Best regards!
    • Anatoly's Avatar
    • Anatoly
    • Newbie
    • Posts: 18
    • Thanks: 0

    Re: SOLVED Using pictures as a background of material

    Posted 8 years 8 months ago
    • Hi!
      Many thanks!
      I found a bug himself.

      .myfone { background-image: url("images/background/fonpage_small.jpg"); }

      Best regards!

Time to create page: 0.044 seconds