• I am trying to tighten up the space between my page content and the header. See:

    https://www.digitalpocketcamera.net

    I have a child folder created – but the only thing in it is the .css file. I am new to wordpress and it’s killing me! I could fix in this in 2 seconds in html. While we’re at it, I need a link to the blog page from this one – do I just create that in html as part of the content?

    If I move more of the theme files into the child folder – will they be automatically accessed now that I have it set up to access the .css file – or is there more to it than that?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do not move any files from the parent into the child theme! If you need customised templates, you must create them within the child theme. And try using Firefox with the Firebug add-on your CSS work.
    https://getfirebug.com/

    Thread Starter Knightspirit

    (@knightspirit)

    OK – I have Firebug working – thanks! Awesome helper tool – now where do I find the space that I want to fix? Is it in the .css file?? Or somewhere else? Also – and I apologize for what are probably obvious questions – but if I make a change using the firebug tool – does that actually change the .css file – or do I need to manually go in and make that change for it to take effect?

    Thanks!

    Find the CSS in the parent theme that is causing the “gap”. Then add the “right” CSS to the child theme’s stylesheet to close the gap. so if the parent theme applies a margin top of 30px to div.foo, you’ll need something like:

    .foo {margin-top:0;)

    in the child theme. It’s about CSS over-writing/cascading. Yes?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Managing space on the page’ is closed to new replies.