Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1206648
    blueprint
    Participant

    Hi support,

    I tried to customize my footer (change background-color, font size, line heigth …) Now it looks more or less like I want it to. Except these problems:
    – On mobile devices the menue items have weird alignment (see screenshot).
    – There is a dark grey line under the last menue item of each widget I can’t get rid of.
    Can you tell me how to resolve this?

    Here is the code I used (please let me know if there might be a simpler, more elegant solution):

    /* Customize Footer */
    .x-colophon.bottom {
    	padding: 5px 0;
    }
    
    .x-colophon.top {
        background-color: #444444;
    padding-top: 80px; 
      padding-bottom: 100px;
     		 border-top: none !important;
    }
    
    .widget_categories ul > li, .widget_product_categories ul > li, .widget_nav_menu ul > li, .widget_pages ul > li {
      	display: inline-block;
    
    		padding-right: 50px;
      	line-height: 20px;
     		 border-top: none !important;
        border-top: none !important;
        border-bottom: none !important;
        
    }
    
    .h-widget {
        margin: 0 0 0.2em;
        font-size: 120%;
        line-height: 1;
      	border-bottom: 1px solid #ffffff;
      	padding-bottom: 5px;
      color: #ffffff;
    }
    
    .widget a{
        font-size: 14px;
        line-height: 1;
      	color: #ffffff;
      	border-top: none !important;
        border-top: none !important;
        border-bottom: none !important;
        
    }
    
    .widget a:hover{
        font-size: 14px;
        line-height: 1;
      	color: #00afff;
       
    }

    Thanks!

    #1206649
    blueprint
    Participant
    This reply has been marked as private.
    #1206658
    blueprint
    Participant

    Here is the screenshot…

    I want the menue items to stay one below the other at all times.

    #1206865
    Joao
    Moderator

    Hi There,

    To get rid of the line please add the following code to Appereance > customizer > Custom > CSS

     .widget_nav_menu ul, .widget_pages ul {
        border-color: transparent;
    }

    Regarding the spacing please add:

    
    widget_nav_menu ul > li {
        padding-right: 0px;
    }

    Hope that helps

    Joao

    #1207125
    blueprint
    Participant

    Thank you, the first code was helpful.

    The second code is not what I intended. As mentioned I want the menue items to be aligned one below the other at all times. I this possible?

    Thank you!

    #1207644
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    @media (max-width:  979px) {
    	footer .widget_nav_menu ul > li {
         display: block; 
    }
    }

    Hope it helps, Cheers!

    #1209579
    blueprint
    Participant

    Perfect!!! Thanks a lot!

    #1209656
    Rad
    Moderator

    You’re welcome!

  • <script> jQuery(function($){ $("#no-reply-1206648 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>