End of Support for Joomla 3 - Forum closed

[SOLVED] background image

  • smc1st
  • smc1st's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0

background image was created by smc1st

Posted 9 years 2 days ago #10659
Hi,

Sorry, i seem to be unable to load an image as a background in my custom css. I can change the colour no problem but have an issue with changing it to an image. Here is the syntax within the custom css:

html {background-image: images/joomlaplates/blue-test.jpg !important;}

Does it need to read

html {background-image: url('images/joomlaplates/blue-test.jpg') !important;}

Thanks,

Steve
by smc1st

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic background image

Posted 9 years 2 days ago #10660
PLease check your source code if the image is at the right path.
I dont htink so, please use this code below:

html {background-image: url('../images/joomlaplates/blue-test.jpg') !important;}

Your code: images/..
Right code: ../images/..

Please Log in or Create an account to join the conversation.

  • smc1st
  • smc1st's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0

Replied by smc1st on topic background image

Posted 9 years 2 days ago #10661
Hi,

I just put the test images in there so i can work out what i like. they do not stay in there permanently. I have already tried the below and tested it again and it does not seem to work for some reason. So just to clarify i have saved the images in the joomlaplates folder within images.

Thanks,

Steve
by smc1st

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic background image

Posted 9 years 2 days ago #10662
live url please...
And please take in your mind that you can have 2 background images.
One image at html and one in body section. Make sure that the body is not override the html background.
www.w3schools.com/cssref/pr_background-image.asp

Please Log in or Create an account to join the conversation.

  • smc1st
  • smc1st's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0

Replied by smc1st on topic background image

Posted 9 years 2 days ago #10663
Hi,

No problem, I will take a look. I do not have a live url yet as I have a local instance on my pc that I am using to get to grips and produce a temporary design.

Thanks,

Steve
by smc1st

Please Log in or Create an account to join the conversation.

  • smc1st
  • smc1st's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0

Replied by smc1st on topic [SOLVED] background image

Posted 8 years 7 months ago #13189
Problem solved.
by smc1st

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License