Backgrounds in blocks

Author Posts

VincentVreeken

I created a header with the page titel and a background picture. Now that picture also appears in the footer as a background picture and in the headers of all my pages. How can I disconnect the blocks, so that every block can have it’s own background picture? Thanks for your help.


Sebastian

Hey Vincent,

If you applied a background image using Microthemer, the CSS selector it generated when targeting the header might also apply to the footer. To solve it, you need to change the selector targeting:

https://themeover.com/basic-workflow/?seekTo=109

You can also ensure that certain folders only load on one or a handful of pages (rather than on all pages) by applying some logic to the folder containing your CSS selector for setting the background image. See the following videos which explain this:

  1. https://themeover.com/automatic-page-speed-optimisation/
  2. https://themeover.com/load-wordpress-css-on-specific-pages/
  3. https://themeover.com/folders/

Does that help at all?

Cheers,
Sebastian


VincentVreeken

Hi Sebastian, thanks a lot for your advice. I am going to try this tomorrow. Kind regards, Vincent

You must login or register to reply to this topic.