Background images for tiles in webhelp responsive
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Background images for tiles in webhelp responsive
Hello,
In your customization CSS, you should use the "background-image" property in a rule that matches your WebHelp tiles.
Something like:
Regards,
Costin
In your customization CSS, you should use the "background-image" property in a rule that matches your WebHelp tiles.
Something like:
Code: Select all
*[class=" wh_tile "]{
background-image: url("your_own_image.png");
}
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: Background images for tiles in webhelp responsive
Edwin,
If you need to use different image backgrounds for different tiles, then you should use more specific selectors.
For example:
To match other tiles you should use nth-of-type(2), nth-of-type(3), ASO.
Of course, you could also use :first-of-type / :last-of-type pseudo classes to match 1st / last tiles.
Regards,
Costin
If you need to use different image backgrounds for different tiles, then you should use more specific selectors.
For example:
Code: Select all
div[class=" wh_tiles "] > div[class=" wh_tile "]:nth-of-type(1){
background-image:url("your_own_image.png");
}
Of course, you could also use :first-of-type / :last-of-type pseudo classes to match 1st / last tiles.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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)
- ↳ 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