Forum Replies Created
-
AuthorPosts
-
Darren Rousar
ParticipantAbsolutely perfect! Thanks.
And, for other PageLines Framework users out there:
Add Barry’s code to the CSS custom settings here:
PageLines > Site Options > Custom Code > CSS/LESS RulesDarren Rousar
ParticipantThis reply is private.
Darren Rousar
ParticipantThanks Barry,
I was able to get it to function (somewhat) by deleting the entire Pagelines theme folder and then reinstalling it. I did the same with both Event’s plugs.The issue now is that the calendar only displays in the main column, leaving the one sidebar completely blank.
Darren Rousar
ParticipantGood to know.
Darren Rousar
Participant18px didn’t work for me but 10px does.
.tribe-mini-calendar-nav span {
margin: 0 10px !important;
}As for where it goes, you won’t find those lines in your theme’s style sheet. You need to add them to it yourself.
Darren Rousar
ParticipantAdded this to allow the admin to have access but not the authors:
if ( !current_user_can( ‘edit_users’ ) ) {
add_action(‘admin_menu’, ‘remove_tribe_menu_items’, 5);
}function remove_tribe_menu_items() {
remove_action(‘admin_menu’, array(TribeSettings::$instance, ‘addPage’));
remove_action(‘admin_menu’, array(TribeEvents::instance(), ‘addHelpAdminMenuItem’), 50);
}Darren Rousar
ParticipantInteresting.
I’ve a lot to learn.
Might I have a hint though? Are they somewhat arbitrary in your example?Darren Rousar
ParticipantThanks Barry, I’ll try that in the morning.
Where did the 5 and then the 50 come from? -
AuthorPosts
