WebsiteBaker Support (2.8.x) > Templates, Menus & Design

calling WB url in CSS

<< < (2/2)

marathoner:
Don't forget that you could simply put that part of your CSS directly in the template header section rather than a CSS file.

Something like this (not tested)

--- Code: ---<STYLE type="text/css">
#img1 {background: url('<?php echo WB_URL; ?>media/template/header1.jpg') no-repeat center left;}
</STYLE>

--- End code ---

viercent:
allready solved, but still, thnx for the suggestion ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version