Support » Theme: Twenty Nineteen » center logo in header 2019

Viewing 4 replies - 1 through 4 (of 4 total)
  • sayze35

    (@sayze35)

    OR thinking… I should just edit the header.php file for the child?

    Jarret

    (@jarretc)

    Hi, do you have a live site where we can take a look at the code closer and then make a possible suggestion?

    sayze35

    (@sayze35)

    Thanks Jarret,
    but I just added a child header file and replaced content in the site-branding-container area. That was easy. It’s odd that was such an easy task, but trying to center the logo just wasn’t working.

    Question, so various other template files seem to be all complicated with the WP team who created the 2019 theme, to begin with. I’m sure they know exactly how and why they did things. I can write code as well, but I’m sure there could be changes or existing code from the theme that, IF REMOVED:
    a) I can replace it easy with what I want it to do
    b) If removing it, there can be other functionality that I’m removing, but don’t know it?

    So I could remove something, that I actually want?
    HOWEVER, the details and document is very limited? Is there a site that explains what the templates do for 2019?

    Is there a good manual on the 2019 theme that explains things, how/what/why the code does?

    thanks

    Hi, it is definitely possible that if you go to modify some code that you may remove something that causes the theme to function properly.

    If the site you’re working on isn’t something that is in production and live, you can of course make these changes to see if anything breaks. Then just undo the changes in your text editor if something bad does happen.

    There isn’t anything specific to TwentyNineteen or any of the other default themes that explains specific code chunks in detail. Most of it is all just PHP, so as long as you have some understanding of PHP you can usually get a good idea of what is going on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘center logo in header 2019’ is closed to new replies.