Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #446270

    Hi,
    I create languages btn in the top menu.
    I put code to customize the size to the languages words (the code is written bellow)
    On the right side there is a border-line that comes out, how can you fix it?

    here is screenshot :
    http://prntscr.com/76vuz9

    here is the css code :

    /*----languages----*/
    #menu-item-3997 .sub-menu *, #menu-item-3997 .sub-menu {
      background-color: #000000;
    border: 1px solid #000000;
    }
    #menu-item-3997 .sub-menu a, #menu-item-3997 .sub-menu li, #menu-item-3997 .sub-menu {
      width: 37px!important;
    }
    #menu-item-3997 .sub-menu a {
      padding: 0!important;
      margin: 0!important;
      position: relative;
      left: 4px;
      background-color: transparent!important;
    }
    #menu-item-3997 .sub-menu li {
      background: transparent;
    }
    #menu-item-3997 .sub-menu {
      left: 25%!important;
    }

    Thanks!!!

    #446292

    Hi Tahelprjcts ;

    When I remove the border of the box (#menu-item-3997 .sub-menu *, #menu-item-3997 .sub-menu) “EN” becomes smaller but removes the BORDER

    Quand j’enleve la bordure la boîte (#menu-item-3997 .sub-menu *, #menu-item-3997 .sub-menu) la boîte de “EN” devient plus petite mais enleve la bordure

    /*—-languages—-*/
    #menu-item-3997 .sub-menu *, #menu-item-3997 .sub-menu {
    background-color: #000000;
    /* border: 1px solid #000000; */
    }

    • This reply was modified 9 years, 7 months ago by begrafiks.
    #446340

    Hi,
    Thanks for the help,

    If I take off the berder
    Becomes a white line and it still does not give a good result

    Do you have another idea?
    Thanks!

    #446415

    Hi Tahelprjcts;
    Applying these lines work on my end.
    By the way your are still on WP 2.1.5… May be it is the reason

    #top .sub_menu li ul{ border-style: none; }
    #menu-item-3997 .sub-menu a, #menu-item-3997 .sub-menu li, #menu-item-3997 .sub-menu { width: 38px !important;}
    #menu-item-3997 .sub-menu *, #menu-item-3997 .sub-menu { background-color: #000000; border: none !important; }
    
    #446418

    Hey!

    Please add following code to Quick CSS

    .sub-menu li {
      left: -1px;
    }


    @begrafiks
    thanks for your help :)

    Regards,
    Yigit

    #446679

    Perfect!!!
    Thanks…
    : )

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Languages btn’ is closed to new replies.