Home › Forums › Calendar Products › Events Calendar PRO › remove save-as at top of calendar
- This topic has 8 replies, 2 voices, and was last updated 8 years, 4 months ago by
Jennifer.
-
AuthorPosts
-
December 9, 2017 at 6:18 pm #1402291
Mel
ParticipantHi,
I have some css code to remove several things at the top of the calendar including the save as…
/* TEC CSS */
/* move nav to top */
#tribe-events-footer .tribe-events-sub-nav {
display: none;
}
#tribe-events-header .tribe-events-sub-nav li, #tribe-events-header .tribe-events-sub-nav li a {
display: block !important;
}/* change next/prev */
.tribe-events-nav-previous, .tribe-events-nav-next {
background: white none repeat scroll 0 0;
border: 1px solid gray;
border-radius: 10px;
padding: 10px;
}
.tribe-events-nav-next > a {
color: gray !important;
}div.tribe-bar-date-filter {
display:none;
}Problem: When I selected the photo view in the settings, the save as showed up again?
I never want to see the save as because I am using the shortcodes to control the views.Also the photo calendar shows a strange title? Visit the website to see the calendar..
Thank You
Mel Fisher-
This topic was modified 8 years, 4 months ago by
Mel. Reason: typos
December 13, 2017 at 1:49 am #1404380Jennifer
KeymasterHi Mel,
Thanks for reaching out! I took a look at your site, but I am not seeing any issues with the title in photo view (see screenshot). Could you please clarify how you would like to change it and also send me a link to the page you’re looking at?
Just to clarify, it sounds like you are trying to hide/remove the “View As” text entirely? If so, try adding the following CSS:
#tribe-bar-views label {
display: none !important;
}Let me know if that helps!
Thanks,
Jennifer
December 13, 2017 at 5:09 pm #1405079Mel
ParticipantHiii
My hosting site has a problem so i am moving the site…
I will close this for now…
Thank you
MelDecember 13, 2017 at 8:51 pm #1405193Mel
ParticipantHiiii again…
I fixed the hosting problem so I hope I can continue here…
Here is the CSS including yours……
/* TEC CSS */
#tribe-bar-views label {
display: none !important;
}/* move nav to top */
#tribe-events-footer .tribe-events-sub-nav {
display: none !important;
}#tribe-events-header .tribe-events-sub-nav li, #tribe-events-header .tribe-events-sub-nav li a {
display: block !important;
}/* change next/prev */
.tribe-events-nav-previous, .tribe-events-nav-next {
background: white none repeat scroll 0 0;
border: 1px solid gray;
border-radius: 10px;
padding: 10px;
}div.tribe-bar-date-filter {
display:none !important;
}See attached pic ….. I have not added events yet so that is why the no results msg…
http://www.makethiswork.info just click on calendarThank You
MelDecember 14, 2017 at 3:29 am #1405341Jennifer
KeymasterHi Mel,
Thanks for sending the link! I took a look, and to hide the text, you can add this (see screenshot):
ul.tribe-bar-views-list {
display: none;
}However, it looks like you might be trying to remove the bar entirely? I would recommend taking a look at this article, which has instructions on removing/customizing the bar.
Please note that per our forum guidelines, we typically do not provide support for CSS customizations, but if you have any other questions on this, I’ll be happy to see what I can recommend!
Thanks,
Jennifer
December 15, 2017 at 1:17 am #1406222Mel
ParticipantHi,
yes hiding the test is of no value with the background still showing…
I look at the article you suggested and add the snippet:
add_filter( ‘tribe-events-bar-should-show’, ‘__return_false’, 9999 );
and activated it, but nothing?
mmmmmmm
melDecember 15, 2017 at 5:42 am #1406323Jennifer
KeymasterHi Mel,
So if you do want to hide the entire bar, this CSS will get rid of it (be sure to clear your cache after applying it to make sure you can see the changes):
#tribe-events-bar {
display: none;
}I tested it out on your site, and it’s working on my end (see screenshot).
I just checked the filter myself, and you are right – it wasn’t working for me either. Sorry about that! I will look into this further…we may need to update the article.
In the meantime, let me know if the CSS works for you!
Thanks,
Jennifer
December 15, 2017 at 7:14 pm #1406962Mel
ParticipantHi,,,,,
Worked great!!!
Thank you,,,
December 16, 2017 at 9:58 pm #1407290Jennifer
KeymasterPerfect! I’m glad that worked!
I’ll go ahead and close out this thread, but please feel free to open a new one if you have any other questions!
-
This topic was modified 8 years, 4 months ago by
-
AuthorPosts
- The topic ‘remove save-as at top of calendar’ is closed to new replies.
