• [ Moved to the Fixing WordPress sub-forum. Please do not use Developing with WordPress for these topics. ]

    I need to centre the main logo for the mobile device view on my responsive theme, can someone guide me on what I need to do to achieve this, thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • It would be helpful if you can provide more information on what you have done so far for achieving it and what has not worked. That way others can trim down their responses. Also your question is very ambiguous. Still, may you can try following css for your logo container element.

    {display:table; width:auto; margin:0px auto; float:none;}

    This works in most cases, but not essential that it will work for you. Try and check.

    To add CSS:

    If you are using WordPress 4.7 or later, use the “Additional CSS” option in the customizer.
    If your theme has a custom CSS option, use that to add the CSS shown above.
    If not, install the plugin Simple Custom CSS.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit mobile css’ is closed to new replies.