Using different image backgrounds in different sections
-
Hi,
Customizr is an amazing theme and I just loved this sections feature. Hats off to you Nicolas.
I am trying to use multiple backgrounds for different sections that I have. I have changed
thumb_src from lorempixel url to my image url and now randimages picks up the image that I have provided. How do I use different images rather than just randimages.I also tried doing something like this but it still didn’t work. I still get the image on page-id 158 from randimages.
'background' => array( 155 => 'randimages' , 161 => '#fcfcfc', 24 => '#ffffff' , 158 => 'image_url' )$my_sections_args = array( 'ids' => array(155 , 161, 24, 158), // here are the pages I need there (dontjusteat, ourstory, options, social) 'blur' => 0, 'background' => array( 155 => 'randimages' , 161 => '#fcfcfc', 24 => '#ffffff' , 158 => 'randimages' ),//'randcolors' 'context' => 153, 'hook' => '__before_main_wrapper', 'apply_shadow' => false, 'layout' => 'boxed', );Sorry gentlemen I am not able to share the website since I am still working on local.
Thanks,
Rohit
The topic ‘Using different image backgrounds in different sections’ is closed to new replies.
