将背景图像添加到themeroller主题

时间:2014-01-24 15:28:49

标签: css themeroller

我是新来的,我寻找解决方案,但没有找到解决方案。

我正在开发一个带有T / Roller主题的网络应用程序,我需要设置一个背景图片来覆盖主题样本 我使用了以下js,但是在图像显示之前,样本颜色显示了一秒,在页面加载时调用了图像 我需要一种方法来覆盖主题

 $('div[dsid="logincontainer"]').css('background-image','url("' + Tiggzi.getImagePath('FolderSwitcherBG.png') + '")');
$('div[dsid="logincontainer"]').css('background-size','cover');
$('div[dsid="logincontainer"]').css('background-position','center');
$('div[dsid="logincontainer"]').css('position', 'absolute');
$('div[dsid="logincontainer"]').css('width', '100%');

我想我问的问题是, 有没有办法将图像添加到主题中,将覆盖色板颜色。

thx for reading

0 个答案:

没有答案