Topic Closed
mabu
372 Posts
5.9K Downloads
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. https://codepen.io/JacobLett/pen/jOEpVxz  --  functions  (  background-image: url(https://placebear.com/g/900/300); )   and   

background: url('https://picsum.photos/1400/700?random') 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 pwtuts.com 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

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

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

Typesetter 5.1
8/12/2017

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

  Register