Updating webhelp tile image
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Updating webhelp tile image
Post by ann.jensen »
Hi,
I currently have my webhelp transformation working with images configured on the background of the tiles on my index.html.
However, our UX designer wants me to change them so that the image appears above the tile title and shortdesc.
Can anyone advise on how I change this?
Thanks in advance,
Ann
I currently have my webhelp transformation working with images configured on the background of the tiles on my index.html.
However, our UX designer wants me to change them so that the image appears above the tile title and shortdesc.
Can anyone advise on how I change this?
Thanks in advance,
Ann
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Updating webhelp tile image
Hello,
You could use a padding-top value that is larger than the height of the background image.
For example:
Regards,
Alin
You could use a padding-top value that is larger than the height of the background image.
For example:
Code: Select all
.wh_tile > div {
background-repeat: no-repeat;
background-position: center 0;
padding-top: 200px; /* In my case the background image has a height of 180 pixels and
the padding-top value should be large enough to render the image
above the tile content. */
background-image: url(resources/flowers_by_season_tile.png); /* Replace the URL with the path to your image.*/
}
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Updating webhelp tile image
Post by ann.jensen »
That did the job perfectly.
Thanks Alin,
Regards,
Ann
Thanks Alin,
Regards,
Ann
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service