• Resolved badreputationguy

    (@badreputationguy)


    I have been working to center a logo and the primary menu above the logo on a website to no avail. It is a Wootheme. I also tried using Firebug and cannot get it centered properly, Would really appreciate some help. The website is https://www.joyboxhq.com. I appreciate any help.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is it that the CSS you’re using has no effect? Not even:

    body {
        border: 10px solid red !important;
    }

    ?

    Thread Starter badreputationguy

    (@badreputationguy)

    I tried using Firebug to edit the css and them cut and paste the changes in the Custom.css and it has not worked. I have looked at other threads and tried various suggestions to no avail.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Try this:

    @media screen and (min-width: 768px) {
    
        #header #logo {
            float: none;
            display: block;
            text-align: center;
        }
    
        #wrapper #navigation {
            float: none;
            display: table !important;
            margin: 0 auto;
        }
    
    }

    Thread Starter badreputationguy

    (@badreputationguy)

    I pasted your code into the custom.css and nothing changed. I really appreciate your help.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you try this too:

    body {
        border: 10px solid red !important;
    }

    Did that put a red border on your site?

    Thread Starter badreputationguy

    (@badreputationguy)

    Yes I did paste into the custom.css file as well and no change.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you copy everything in your custom.css file and paste it here?

    Thread Starter badreputationguy

    (@badreputationguy)

    It WORKED!!! I had to put it into the Woodojo setting but not the custom.css file!! THANK YOU SO MUCH! I really appreciate your time and effort.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Cool, you might want to remove the code to put the giant red border on your site ??

    Thread Starter badreputationguy

    (@badreputationguy)

    Yeah. LOL Really appreciate it Andrew! It is really weird that the code I have been putting in the custom.css did not work. It was the area under the Woothemes plugin for Woodojo that worked. Anyway I can’t thank you enough for your help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Custom CSS to Center a Logo and Menu’ is closed to new replies.