WordPress.org

Forums

Fruitful
[resolved] Custom Page Logo (9 posts)

  1. breastfeedingnetwork
    Member
    Posted 9 months ago #

    Can anyone help. I have created a custom page template and I was to change the logo the main logo is the first one on this page http://www.breastfeedingnetwork.org.uk/newwebsite/?page_id=726
    I wish to change it with the second image on that page.

    I know you can easily change the logo through the theme options but I only wish to change the logo on this one page.

    Your help would be much appreciated.

  2. ellp
    Member
    Posted 9 months ago #

    Hello!

    I didn't get your question: you want to move the banner to top? Is that correct?

  3. breastfeedingnetwork
    Member
    Posted 9 months ago #

    Yes please.

  4. ellp
    Member
    Posted 9 months ago #

    Got it.

    Well, there are 2 ways to do it so:

    1) The hard: you have to change the blog structure to move the header to top.

    2) The easiest: you can remove the logo at top and the image at right. So you will have only the header. The catch: your menu will be always on top of the banner. But here I found a problem: you are using the css class "logo" on two places. You have this class on top logo AND on your header. So the css code I will provide won't work. To make this happen you need to change the banner class "logo" to another name.

    Do it an let me know. So I can help you on this ;)

  5. breastfeedingnetwork
    Member
    Posted 9 months ago #

    I've changed the css

    I want to remove the logo at the top only on this page though not the others in my site.

    Thanks

  6. ellp
    Member
    Posted 9 months ago #

    Got it!

    To do that you need to paste this code on your custom css form:

    body.page-id-726 img.logo{
    	display:none;
    }

    Let me know if it works.

  7. breastfeedingnetwork
    Member
    Posted 9 months ago #

    Yes it worked, so is there no way I can get the image to appear after the navigation menu?

  8. ellp
    Member
    Posted 9 months ago #

    After or before?

    To get the navigation after the image you need to modify the header.php file. But It can be tricky.

    If you want to do it, create a child theme to avoid problems.

    Hope it helps.

  9. breastfeedingnetwork
    Member
    Posted 9 months ago #

    Before.

    That's what I've been doing but had no luck with it.

Reply

You must log in to post.

About this Theme

About this Topic