Topic Closed
372 Posts
4 Themes
9 Plugins

A. I try to make a background-image for a bt4 - jumbotron , but 

background-image: url('../image/max-bender-580753-unsplash.jpg') no-repeat center top / cover;    has no effect  (my style.css is in a theme-subdirectory : /overlay)

* But  background: url('../image/max-bender-580753-unsplash.jpg') no-repeat center top / cover;   functions

B.  --  functions  (  background-image: url(; )   and   

background: url('') no-repeat center top / cover;   --    functions also at xampp .

Who has experience with background-image and Typesetter ( just not loading it from 'userfiles' but from Theme-directory).

P.S. : At is a hack-solution  < style type="text/css"> .bg-cover {  background-image: url('< ? php echo $pageFeaturedImage; ?>'); } < / style> - but that is a rather complicated 'solution' (php in a stylesheet..)....which should not function.

(Another possibility is of course Js : document.getElementsByClassName("jumbotron").style.backgroundImage = "url('bild.jpg')"; )


Edited: 2 years ago#11737

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In