WordPress.org

Forums

child theme from two parents (21 posts)

  1. Halimah
    Member
    Posted 2 years ago #

    Hello,
    Can one possibly create a child theme from two parents? like the style from one theme and the header from another theme...

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    No, but you can always make a customized header in whichever theme you use - and recreate the styles from the other.

  3. Halimah
    Member
    Posted 2 years ago #

    How can i put the Leaf header into a p2 child theme

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    How familiar are you with HTML/CSS and WP coding? You'll need to know at least some to be able to do that.

  5. Halimah
    Member
    Posted 2 years ago #

    HTML/CSS to an extent and have read a couple of articles on wordpress but not enough to increase my header image using p2 theme.
    thanks

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    How much of the Leaf header do you want? Just the look of the header (not menu?) or ??

  7. Halimah
    Member
    Posted 2 years ago #

    the changing pictures

  8. Halimah
    Member
    Posted 2 years ago #

    and title perhaps

  9. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Ah, so you want that kind of a slideshow on your P2 site? That's actually not part of the header - and it would probably be much easier to just use a slideshow plugin with P2.

    Or am I missing something?

  10. WPyogi
    Forum Moderator
    Posted 2 years ago #

    As to the title - that's probably just CSS styling so you can easily do that in P2 using Custom CSS (if not a theme option, make a Child Theme or use a plugin to add that).

  11. Halimah
    Member
    Posted 2 years ago #

    thanks for the plugin suggestion, I'll look it up later but the challenge earlier was that i couldn't move the title above the image and when i increased the height of the header, the image doubled,then i increased the header img height so I'll have one big image but nothing happened, I'm sure its my code that's faulty... if you can help
    I'm using a child theme already

  12. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Sure - can you post a link to your site so I can see what's going on?

  13. Halimah
    Member
    Posted 2 years ago #

    thats the problem I'm working on a local server so i can't link...its a sch. project

  14. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Mmmmm, that's tough - as CSS is so site specific. I can install P2 on a test site and maybe see what's going on if you can post the CSS changes you've made.

    Have you made changes to other files (header.php)?

  15. Halimah
    Member
    Posted 2 years ago #

    No, i've not made any more changes than
    #header {
    height: 240px !important;
    }
    to the style.css. i deleted the other changes since they don't have effect

    i appreciate

  16. WPyogi
    Forum Moderator
    Posted 2 years ago #

    No problem - so what are you trying to do? Make the text bigger ? or the white space, both or ?? Sorry to have to ask so many questions, just no other way to do this :).

  17. Halimah
    Member
    Posted 2 years ago #

    I should be the one saying sorry, i want a BIG header image but each time i try to upload an image, i am required to crop to a small image that get doubled automatically to fit the increased header height and i want the title above the image and menu below the image

  18. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Sorry for taking so long - had to do a bunch of fiddling around - and still didn't figure out where to change that image size (likely in the functions file(s) - but it's a complicated theme and that kind of coding isn't my strong point :/). BUT I think I did find a work-around -

    Remove the header image in the theme settings.

    Then in your child theme CSS add this:

    #header .sleeve {
        background: url("COPY THE URL FOR YOUR IMAGE HERE") no-repeat scroll 0 0 transparent !important;
        height: 240px;
        margin-top: 40px;
        width: 100%;
    }

    See if that works.

  19. Halimah
    Member
    Posted 2 years ago #

    that did it, you should be a magician! i hope to meet you or someone like you online when next i need help...thanks for your time & the help

  20. WPyogi
    Forum Moderator
    Posted 2 years ago #

    LOL - you're welcome. There's lots of good helpers around here so come back if you need to. Good luck with your project - that is one very cool theme. I've been wanting to play around with it and now you got me to actually do it :)! I think I'm gonna have to find something to do with it...

  21. Halimah
    Member
    Posted 2 years ago #

    i think I'm going to need much more of the good luck...& yeah a cool theme it is.

Topic Closed

This topic has been closed to new replies.

About this Topic