Active la position fixe sur contain ou cover dans l'image d'arrière plan
This commit is contained in:
parent
f6c1e2a9f3
commit
2935a4dd8e
@ -21,6 +21,15 @@ $(document).ready(function(){
|
||||
* Aperçu en direct
|
||||
*/
|
||||
$("input, select").on("change", function() {
|
||||
|
||||
// Option fixe pour contain et cover
|
||||
var themeBodyImageSize = $("#themeBodyImageSize").val();
|
||||
|
||||
if(themeBodyImageSize === "cover" ||
|
||||
themeBodyImageSize === "contain" ) {
|
||||
$("#themeBodyImageAttachment").val("fixed");
|
||||
}
|
||||
|
||||
// Couleur du fond
|
||||
var css = "html{background-color:" + $("#themeBodyBackgroundColor").val() + "}";
|
||||
// Image du fond
|
||||
|
Loading…
Reference in New Issue
Block a user