By jcbrown on Tuesday, 14 July 2015
Replies 9
Likes 0
Views 1.8K
Votes 0
Why doesn't the back button on event detail pages match my other site buttons (which are gray)? The white text in my CSS is hard to read on those buttons: http://jchrisbrown.com/Masons/index.php ... ge-meeting

Is there a way I can change those buttons to match my other ones?

Thanks.
Hello,

Depending on what version of JEvents you are using we have set it to use the .btn class which is a standard bootstrap class as per the Joomla! protostar layout and bootstrap support throughout Joomla!.

I would suspect your site template is using a different button class and you would need to add .btn to it? See:
https://www.jevents.net/docs/item/custo ... s-with-css

On how to find the css etc.

We can't actually view your site as it is protected, but helping to customise JEvents for integration with your specific template is usually Club Member level support.

Many thanks
Tony
·
Wednesday, 15 July 2015 08:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I see <a class="jev_back btn art-button">, where art-button is my template's button class. If I remove jev_back btn, the bootstrap style disappears. I know I can override the bootstrap style in JEvents CPanel -> Custom CSS, but what do I need to add to do that?
·
Wednesday, 15 July 2015 13:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

art-button sounds like part of an Artisteer template.

Just edit your template and add .btn to the art-button class.

So in your templates css file.

.art-button

becomes:

.art-button, .btn

Thanks
Tony
·
Thursday, 16 July 2015 00:37
·
0 Likes
·
0 Votes
·
0 Comments
·
It is an Artisteer template. I added the .btn but the button didn't change.

http://jchrisbrown.com/Masons/index.php ... ge-meeting - you should be able to see it now.
·
Thursday, 16 July 2015 13:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

That's because your template hasn't applied the art-button css to .btn. You can check if it has by using the inspector as per:

https://www.jevents.net/docs/item/custo ... s-with-css

Thanks
Tony
·
Thursday, 16 July 2015 21:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Can I remove that button class?
·
Friday, 17 July 2015 14:12
·
0 Likes
·
0 Votes
·
0 Comments
·
From the button? you could but it's much easier to just restyle with CSS. You would need to create a template override and re-code the html output.

Thanks
Tony
·
Friday, 17 July 2015 23:29
·
0 Likes
·
0 Votes
·
0 Comments
·
I finally got the override to work by adding .jevbootstrap .btn to my .art-button class:

.art-button, .jevboostrap .btn

Thanks again for pointing me in the right direction.
·
Saturday, 18 July 2015 10:44
·
0 Likes
·
0 Votes
·
0 Comments
·
You are very welcome and glad you solved it.

Many thanks
Tony
·
Monday, 20 July 2015 09:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post