By Guy Goodall on Saturday, 18 January 2014
Posted in General
Replies 7
Likes 0
Views 1.2K
Votes 0
How's the color of the 'ask a question' button achieved? The backend preferences do not work on the demo site or our developer site either?

Thanks in advance.
hey guy,
yeah seems that the timeless theme is not adopting the toolbar button settings.
if you want you can change the colour in your css. check the file components/com_easydiscuss/themes/timeless/styles/style.css and around line 13334 change the values in this part:


div#discuss-wrapper .discuss-headers-wrapper .btn-ask {
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
border-radius: 24px;
position: absolute;
bottom: 20px;
right: 20px;
font-size: 14px;
font-weight: bold;
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,0.25);
background-color: #85c3cb;
background-image: -moz-linear-gradient(top,#93cfd7,#71b1ba);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#93cfd7),to(#71b1ba));
background-image: -webkit-linear-gradient(top,#93cfd7,#71b1ba);
background-image: -o-linear-gradient(top,#93cfd7,#71b1ba);
background-image: linear-gradient(to bottom,#93cfd7,#71b1ba);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff93cfd7', endColorstr='#ff71b1ba', GradientType=0);
border-color: #71b1ba #71b1ba #498c96;
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
*background-color: #71b1ba;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
border-color: #333 #333 #282828;
}


hope that helps
·
Saturday, 18 January 2014 21:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Alex
·
Saturday, 18 January 2014 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes thank you Alex.

I'm going to implement it shortly, Much appreciated
·
Sunday, 19 January 2014 04:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex and all, It took a good while to work out all those cölor changes and upon save your solution worked perfectly

The thing is, I opened up an iPad and alas no button at all (; I switched back to the original style.css just to test if I'd broken something. The result was the same no button

I guess the guy's at Stackideas missed cross browser / platform testing of this theme?

Anyway, I'll compromise again and add the 'ask a question' module although I would have prefered to use the button in the discussion header.

Thanks again!
·
Sunday, 19 January 2014 05:53
·
0 Likes
·
0 Votes
·
0 Comments
·
actually that shouldn't happen.
I just tested with my iphone on the stackideas demo and the button is showing up fine. perhaps something else is wrong at your end or/and have you made sure to be logged in on your ipad? If I remember correctly by default you'll see that button only if you're signed in but not when you're browsing as a "guest".
·
Monday, 20 January 2014 01:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Alex you're right, thanks for pointing that out
·
Monday, 20 January 2014 07:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Alex
·
Tuesday, 21 January 2014 00:08
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post