• Resolved niklar

    (@niklar)


    Hi guys, apols for being a numpty. Just started using wordpress and activated twenty eleven them. Played around a bit before knowing anything anout child themes. So I created a child theme but I’m now not sure if i should unistall and reinstall and start from scratch. I havent done much yet so its not a problem but i dont want to continue trying if i’ve already ruined my chances!

    Im encountering 2 problems – one is that when i give the frontpage a title it appears on screen and i dont want it to. second i want to turn the white text box background black. i have tried codes in the style.css file in the child theme but nothing is happening. Any help appreciated please. site is culturedcarpbaits.co.uk

Viewing 8 replies - 1 through 8 (of 8 total)
  • Did you modify any theme files (not Dashboard settings or options ) – like .php files or style.css ?

    It looks like your child theme is set up fine, although I would suggest moving the @import line below the commented section:

    /*
    Theme Name:     Twenty Eleven Child
    Theme URI:      https://culturedcarpbaits.co.uk/
    Description:    Child theme for the Twenty Eleven theme
    Author:         Nik
    Author URI:     https://culturedcarpbaits.co.uk/about/
    Template:       twentyeleven
    Version:        1.5
    */
    @import url("../twentyeleven/style.css");
    
    #site-title, #site-description { text-indent: -9999px; }

    To hide the titles, try adding this:

    .singular .entry-title, .singular .entry-header .entry-meta {
        display: none;
    }

    and this for background:

    #primary {
        background: none repeat scroll 0 0 black;
    }

    Thread Starter niklar

    (@niklar)

    Hi WPyogi,

    Thank you! I didn’t touch any files other than create the style.css – I only found where I could access them today and that’s all I’ve done, which is a relief after ur reply!!

    I’ll do what u say when I’m back on my machine tomorrow and let u know how it goes!

    Thanks again!

    Thread Starter niklar

    (@niklar)

    I have moved the @import url line down as suggested and i added the above code to the style.css file but nothing has changed. does the style.css file instantly update when it is saved and closed or is there a step in between that im missing?

    any help appreciated..

    Thread Starter niklar

    (@niklar)

    Ok, i think the reason nothing changed was that i was logged in on a different machine at the time. I have now gone back to my machine and the changes have appeared – thank you!!

    If you look at the site you will see that the text box is a little out of sync, can i change this?

    Also, how do i make the bottom of the page black also or to just show the background image?

    thanks

    Thread Starter niklar

    (@niklar)

    In an ideal world i would like my front page to be black with just the background image around the edges with the banner as it appears, the home menu not there so that you click on the eye to enter the site.. is that possible?

    Try adding this:

    .home #access {
        display: none;
    }
    #page {
        background: none repeat scroll 0 0 black;
        border: 0 none;
    }

    Thread Starter niklar

    (@niklar)

    Thanks, that has done a job in terms of colour, there is a small white line at the bottom but i can cope with that.. But the main area or the post area is still a bit off to the left and not falling neatly into alignment – although the white has disappeared.

    Thread Starter niklar

    (@niklar)

    done

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘I may have edited my parent theme – should i start again’ is closed to new replies.