End of Support for Joomla 3 - Forum closed

Unable to add image to article

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

Unable to add image to article was created by smc1st

Posted 8 years 5 months ago #10795
Hi,

i am struggling to apply an image to an article. Below i am using the following CSS in custom.css:

#surface{ background-image:url('../images/Surface_4.jpg');
background-repeat:no-repeat;
width:604px;
height:348px;
float:right;

}

Then in my article i was adding the following html:

<div id="Surface"></div>

This works in dreamweaver and how i code CSS, HTML manually but in Joomla it does not seem to work. Any help would be much appreciated.

Thanks,

Steve
by smc1st

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

Replied by joomlaplates on topic Unable to add image to article

Posted 8 years 5 months ago #10796
Please check your css style with Google Chrome or Firefox.
Each modern Browser have a developer tool - Press "F12" - and inspect the "div" and styles.
www.joomlaplates.com/template-customizing
The following user(s) said Thank You: 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 © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License