I’ve added a custom button to the top bar with the following css.
I need to add a phone number and email address that aligns to the left side of the top bar. Currently the text is aligning to the button position. Site link below. I also want to make sure this works on mobile.
CSS
.x-topbar .p-info{
float: right;
margin: 0px 0px 0px 0px;
}
.x-topbar .x-social-global {
margin-top: 0px;
}
.x-btn.x-btn-mini.top-button {
margin-top: 0px;
margin-bottom: 0px;
margin-right: 0px;
margin-left: 20px;
float: right;
color: white;
border-color: #E65C60;
background-color: #E65C60;
-webkit-box-shadow: 0 0.25em 0 0 #a71000, 0 4px 9px rgba(0, 0, 0, 0.75);
box-shadow: 0 0.25em 0 0 #a71000, 0 4px 9px rgba(0, 0, 0, 0.75);
}
.x-btn.x-btn-mini.top-button:hover {
margin-left: 20px;
color: white;
border-color: #ecab3b;
background-color: #ecab3b;
-webkit-box-shadow: 0 0.25em 0 0 #986610, 0 4px 9px rgba(0, 0, 0, 0.75);
box-shadow: 0 0.25em 0 0 #986610, 0 4px 9px rgba(0, 0, 0, 0.75);
}
@media (max-width: 1200px){
.x-topbar .p-info {
margin: 1px 0px 0px 0px;
}
}
@media (max-width: 1200px){
.x-topbar .x-social-global {
margin: 1px 0px 0px 0px;
}
}
Top Bar Content
<a href=“http://votedang.com/donate”
class=“x-btn x-btn-mini top-button”> Purchase Package