• Hi,

    I am working on my blog and I used a template where I defined the colour of the different headers etc. This was generally made for the posts, but now I would like to add other pages that will contain static info.
    I would like to have the headers, links, etc with different colours on those pages.
    How is it possible to do it?

    Eg. If i copy paste it from somewhere, it is working but I do not think it is best for the coding. Do I have to manually (and if yes, how) add in front of every header a colour code?
    Or is there a better solution.
    Thank you for your help,

    Second question would be: If i add a picture, and want text next to it, but I want to have the next header starting below the picture I cant seem to do it, they slide next to eachother. If I take alignleft from the code the text will slide below the picture as well.
    So I would need something like blank lines/linebrakes etc I can manage easily.

    Please let me know if you need anything more form me.

    Site: https://fittmama.freevar.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Q1: See https://quirm.net/2009/08/07/changing-headers-with-wordpress-body_class/ for a general approach that you should be able to use for your pages.

    Q2: If the first image is aligned to the left, try adding <br style="clear:left;" /> before the second image. If the first image is right aligned, use <br style="clear:right;" />

    Thread Starter markovacs

    (@markovacs)

    That is what I needed, thank you.

    I have tried now I will try to change everything insted of white dots all over the page.

    One thing though, If I have a page and I want to start the text at the same heights as the top of the picture, why is it not showing that on the page while it is good in WP.

    Any idea?

    Thank you esmi!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different colours on different pages’ is closed to new replies.