Inicio Forum Theme Orbit Installation and Configuration Centering Navigation and Removing slider

Viendo 7 publicaciones - del 1 al 7 (de un total de 7)
  • Autor
    Publicaciones
  • #667

    sharscar
    Participante

    Hi, I am using the whitecube theme for a centered logo, and would like the navigation centered underneath the logo. Is that possible? Also, we would like to remove the slider (for the time being) and center the text in that area.
    Thank you for your help,
    sharscar

    #671

    Pedro Pinto
    Super administrador

    Hi, copy this code in Appareance > Orbit Options > General > CSS User:


    #main-navigation, #logo, #front-text-feature {
    display: block;
    float: none;
    width: 100%;
    }

    #logo img {
    display: block;
    margin: auto;
    }

    #front-slide {
    display:none;
    }

    #main-navigation {
    margin: 0 25%;
    }

    In last line try to change 25% by other number to get center

    #672

    sharscar
    Participante

    Thank you! The slider area worked, but the nav is still to the left. It didn’t move no matter what percentage I put in the last line. Other thoughts?
    Thank you again!!

    #675

    Pedro Pinto
    Super administrador

    It should work… what’s the Internet address for the web site?

    #683

    sharscar
    Participante

    jlewisinvestigations.com/wp

    I also need more padding around the logo, but think I can go in and adjust those numbers.

    Thank you!

    #684

    Pedro Pinto
    Super administrador

    Try this:

    #main-navigation, #main-navigation-whitecube, #logo, #front-text-feature {
    	display: block;
    	float: none;
    	width: 100%;
    }
    
    #logo img {
    	 display: block;
    	 margin: auto;
    }
    
    #front-slide {
    	display:none;
    }
    
    #main-navigation, #main-navigation-whitecube {
    	 margin: 0 25%;
    }
    #logowhitecube {
    	padding: 10px;
    }
    
    #686

    sharscar
    Participante

    That worked. Thank you!

Viendo 7 publicaciones - del 1 al 7 (de un total de 7)

Debes estar registrado para responder a este debate.