-
AuthorPosts
-
May 19, 2015 at 9:31 am #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/76vuz9here 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!!!
May 19, 2015 at 10:18 am #446292Hi 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.
May 19, 2015 at 11:29 am #446340Hi,
Thanks for the help,If I take off the berder
Becomes a white line and it still does not give a good resultDo you have another idea?
Thanks!May 19, 2015 at 2:14 pm #446415Hi 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; }
May 19, 2015 at 2:20 pm #446418Hey!
Please add following code to Quick CSS
.sub-menu li { left: -1px; }
@begrafiks thanks for your help :)Regards,
YigitMay 19, 2015 at 8:20 pm #446679Perfect!!!
Thanks…
: ) -
AuthorPosts
- The topic ‘Languages btn’ is closed to new replies.