Tagged: x
-
AuthorPosts
-
October 31, 2016 at 11:29 am #1238074
Hi again,
You can add the background image instead on archive pages, try adding the following code in your Customizer:
.archive .x-navbar { background-image: url(http://placehold.it/120x120); }
Just change the image URL with your image. Hope this helps!
October 31, 2016 at 12:03 pm #1238116It works! But…
1) How can I set up the height of the picture exactly the same height of the sliders on first pages, so the design can be the same in all pages.
2) And how can I set up a different picture for each archive pages I have: “MENSAGENS”, “EVENTOS”and “BLOG”.
Thanks!October 31, 2016 at 12:48 pm #1238191Hi There,
1) You can add more padding to the section
2) Please add the following code to Appereance > Customizer > Custom > CSS and change the image according to your wishes.
.archive.category-mensagens .x-navbar { background-image: url(http://placehold.it/120x120); } .archive.category-eventos .x-navbar { background-image: url(http://placehold.it/120x120); } .blog.x-navbar { background-image: url(http://placehold.it/120x120); }
Hope it helps
Joao
October 31, 2016 at 1:14 pm #1238226Hi, Joao! The code worked to category MENSAGENS and for the cetegory EVENTOS but didn’t work for the tab BLOG.. I can’t figure out why…:( Also the height of the background images when I added padding shortcodes didn’t work also.. Please, help!
October 31, 2016 at 1:22 pm #1238234Hi there,
Please try this code for the blog page:
.category-noticias .x-navbar { background-image: url(http://placehold.it/120x120); }
Hope this helps.
October 31, 2016 at 2:10 pm #1238280Perfect, Jade. Many thanks!
To finish this topic how can I have the height of the background pictures the same height I can see on my slider revolution applied in the other pages, so the site have the same height backgrounds in all pages, like this site here: http://www.elreyjesus.org/
October 31, 2016 at 2:17 pm #1238291Hi Gio,
You can add a height value for in the CSS rules like this:
.archive.category-mensagens .x-navbar { background-image: url(http://placehold.it/120x120); height: 300px; } .archive.category-eventos .x-navbar { background-image: url(http://placehold.it/120x120); height: 300px; } .category-noticias .x-navbar { background-image: url(http://placehold.it/120x120); height: 300px; }
Hope this helps.
October 31, 2016 at 3:00 pm #1238325Hi Jade, it helps a lot! Many, many thanks, you are awesome! Hope in a near future we can have more flexibility to use the Slider Revolution with archive pages! Best wishes, Gio.
October 31, 2016 at 3:05 pm #1238331I am glad we managed to help and thanks for your feedback have a great day.
Joao
-
AuthorPosts