solved Add Attending Button To Profile

mtown
@mtown
7 years ago
9 posts
I noticed that some of themes have the attending button for events on the index but not on the details page. I was unsure which profile template the attending button should be added to as I see no profile-event details template. What template can be used to add attending to profile event details pages?
updated by @mtown: 03/09/18 08:01:33AM
paul
@paul
7 years ago
4,325 posts
The Attending button (if enabled) should show by default in both the event item list and detail pages. What skin are you using?


--
Paul Asher - JR Developer and System Import Specialist
mtown
@mtown
7 years ago
9 posts
Elastic2. Yes, Attending button is enabled for all quotas.
mtown
@mtown
7 years ago
9 posts
I think I see the problem. I decided to scroll and move my mouse near the calendar icon and to the left of the calendar icon "Attending?" showed. Guess it is a class making it not show because it shows when you hover. Will check back in.
michael
@michael
7 years ago
7,697 posts
This has been fixed in the next version of jrElastic2 ver 2.0.4
mtown
@mtown
7 years ago
9 posts
I just added a style for it until it is released. Thanks.
michael
@michael
7 years ago
7,697 posts
Nice one. Make it your own! :)

If you want the changes that are being released, its these:
 .event_attend_button {
-    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
-    border: 1px solid rgba(255, 255, 255, 0.4);
-    border-radius: 5px;
-    color: white;
-    padding: 8px 10px;
+    font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
+    background: #FFFFFF linear-gradient(#FFFFFF, #EEEEEE) repeat scroll 0 0;
+    border: 1px solid #CCCCCC;
+    border-radius: 2px;
+    box-shadow: none;
+    color: #555555;
+    padding: 3px 5px;
 }
mtown
@mtown
7 years ago
9 posts
Thanks!
mtown
@mtown
7 years ago
9 posts
Question, it displays correctly on the profiles however, the code also now changes the button on the homepage. Is there a way to prevent it from restyling the home page?
michael
@michael
7 years ago
7,697 posts
sure, you could wrap another div around whichever you want to change and then target it with CSS
.some_named_div .event_attend_button{
// whatever style you want here
}

updated by @michael: 12/08/17 06:41:03PM
mtown
@mtown
7 years ago
9 posts
That's what I figured. Thanks. :-)

Tags