Support » Theme: Customizr » customizr child them, css will not work

  • Hello,

    I am using the customizr theme as a child theme. I am trying to center and enlarge my logo and have my menu under it. I’ve entered the following in the custom css box as well as the style.css file. Neither seems to work.

    .navbar-wrapper .brand {width:100%; float:center;}
    .navbar-wrapper .navbar {width:99%; float:center;}

    Website is here

    I am building this site for my boss as our old one is extremely outdated.

    Any help would be greatly appreciated.

    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • float:center doesn’t exist.
    Look at this snippet, might help:
    http://www.themesandco.com/snippet/center-header-block-items/

    Did not know that. I pulled that code from an older post to do exactly what I wanted on customizr.

    I tried some of those snippets, still no effect on the site at all.

    I used that snippet my-self and it worked, some days ago.
    So there’s something wrong in the way you used it.
    Where did you put those snippets?
    Have you created a child theme? (preferable)
    You have to put the css part in the style.css of the child theme.
    And the php part in the function.php of the child theme.

    Oh sorry, I forgot you said you used a child theme in your first post 😀

    All I can see in the Child Theme is an @import of the core style.css. (That @import isn’t needed, the Theme does that).

    So how are you adding Snippet code, eg Center the Header Block?

    ok, I re-did my child theme, and now those snippets seem to have some effect. However, what I am trying to do is, center my logo, and have my menu centered under it. I am having trouble trying to find the proper css code to do this.

    @rdellconsulting, I was trying both the custom css box and directly in the style.css file.

    I am also running in to another problem. I created a functions.php for the child theme, whenever I put anything in this file, it displays the code at the top of the screen above the header. What am I doing wrong here?

    Well, if your functions.php doesn’t work you cannot properly apply the changes of those snippets.
    So.. how looks like your functions.php?
    Did you put at the top of that file
    <?php
    ?

    I did not know to put that at the top. However, once I do I get the white screen of death. I had to then use my ftp to delete it to restore function to the website.

    Read this snippet first to ensure you understand how the CT should look.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘customizr child them, css will not work’ is closed to new replies.