Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Colourshift2: Apply Search CSS in copyright position

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

How can I apply the same styling that the Colurshift Demo uses for the search module to the search module in the copyright position near the bottom of the screen?

Thank you
Sharon
  • ssartjb's Avatar
  • ssartjb
  • 12 Month Developer
  • 343 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Sharon,

Not quite sure what you mean

Can you add a screenshot of the area in question

thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
sabina100.cloudaccess.host/

Is mainly the button color where the search icon appears that is different. In the copyright position I think it it applies the default primary color instead of being white or transparent


Screenshot-search-colourshift-demo.png


Screenshot-search-in-copyright.png
  • ssartjb's Avatar
  • ssartjb
  • 12 Month Developer
  • 343 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Are you looking for this styling option?

.search .btn-primary {background-color:#fff;border: 1px solid #cccccc;padding: 11px; }
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Background white looks right. It also looks like the button is blended with the text area.
  • ssartjb's Avatar
  • ssartjb
  • 12 Month Developer
  • 343 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
The search uses styling linked to the search position so it requires quite a bit of custom css

something along the lines of
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
.search {border:1px solid #000}

.search button span {
color: #c1c1c1;
margin: 0;
}

.search input {
background:transparent;
font-size: 14px;
color: #999;
border: 0;
display: inline;
margin-bottom: 0;
outline: none;
height: auto;
width: calc(100% - 60px);
font-size: 14px;
text-indent: 10px;
line-height: 30px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
margin-top: 0px;
}

.search input:hover {background:#f3f3f3}

.search button {
height: 44px;
background-color: #fff;
border: 0 none;
background:transparent
}


.search button {
float: right;
margin: -1px -1px -1px -1px;
min-width: 60px;
text-align: center;
border:0;
}

.search label {margin:0; padding: 0;}

.btn-primary:hover {background-color:transparent; border:0;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
last line should be

.search .btn-primary:hover {background-color:transparent; border:0;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thank you Paul -

This is working well.

Sharon
  • ssartjb's Avatar
  • ssartjb
  • 12 Month Developer
  • 343 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
Cheers

Have a great weekend

Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers