Box in Header like Login

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Wed May 21, 2014 6:45 pm
Hi guys,
1) could somebody help me creating a menu item in the header menu that looks like the login box but points to another url (I want to keep the Login too)
2) Could somebody help me changing the the text of the Login Box in the header.

Sry for my bad english
Thanks,
Luca
User avatar
Fresh Boarder

GK User
Thu May 22, 2014 7:34 am
Hi,

1) You have to add CSS class into your menu item - Appearance -> Menus tab, Screen options (right top corner - check CSS classes), e.g. add class my-button.

Now you have to add this code into Creativity/css/override.css file (first enable this override option from Template Options -> Advanced tab).

Code: Select all
.my-button a {
   color: #333!important;
   margin: 20px 0 0 26px;
   background: transparent!important;
   border: 1px solid #ddd;
   -webkit-border-radius: 2px;
   -moz-border-radius: 2px;
   border-radius: 2px;
   font-size: 15px;
   height: 34px!important;
   line-height: 34px!important;
   -webkit-transition: all .3s ease-out;
   -moz-transition: all .3s ease-out;
   -o-transition: all .3s ease-out;
   transition: all .3s ease-out;
   display: block;
}

.my-button a:hover {
   background: #68b5ff!important;
   border-color: #68b5ff!important;
   color: #fff!important;
}



2) All texts are included in the language .pot file - you can translate them or directly you can find these texts in Creativity/layouts/login.php file.
User avatar
Moderator

GK User
Fri May 23, 2014 1:06 pm
Hi,

1) Thanks works fine, the only thing is that this Css is also applied to the submenus (with some errors)

Thanks
User avatar
Fresh Boarder

GK User
Fri May 23, 2014 1:20 pm
I can check it but now I can't see cmshost.me anymore.
User avatar
Moderator


cron