0
I’m trying to customize the fullcalendar button, but I’m not getting it. I’m using Bootstrap. The fullcalendar CSS code, put after the Bootstrap CSS and before the tag. See the code below:
CSS
.fc-right button{
text-transform: uppercase;
border-radius: 2px;
font-size: 13px;
font-weight: 600;
transition: box-shadow linear 0.4s;
background-color: #2196F3;
border-color: #2196F3;
margin-top: 10px;
}
HTML
<div class="col-xl-4 col-lg-4 grid-item">
<div class="card" style="background-color: #F9EAAF">
<div class="panel panel-default">
<div class="panel-heading bg-default txt-white">
<i class="fa fa-calendar fa-lg"></i> Calendário de Eventos
</div>
<div class="panel-body">
<div id='calendario'></div>
</div>
<div class="panel-footer" align="center">
<button class="btn btn-default">Ver todos os eventos</button>
</div>
</div>
</div>
</div>
Jquery
$(document).ready(function() {
$('#calendario').fullCalendar({
height: 250,
contentHeight: 273,
editable: false,
eventLimit: false,
events: 'eventos.php',
eventColor: '#dd6777',
eventClick: function(event, jsEvent, view) {
$('#modalTitle').html("<i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> " + event.title);
$('#modalBody').html(event.description);
$('#eventUrl').attr('href',event.url);
$('#fullCalModal').modal();
}
});
});
He gets that way:
And when I mouse:
How do I get it to take the formatting I put up?
What are you using? Post your HTML.
– Jorge.M
Take a look here.
– Jorge.M
A good one would be to put your code in Jsfiddle, not to know if Voce is using, if it is a Hover or if it is a proper attribute of this fullcalendar. Or else put it right here, to run.
– Alex
Hi Jorge. You’re right. I put the excerpts that refer to the calendar, since the HTML is too big. I’m using Bootstrap.
– user24136
Hello Marcelo. I will try to isolate the code and put in Jsfiddle.
– user24136
You want him to change his appearance by hovering over?
– LeAndrade
Hello Leandro, I want to implement the CSS I put in the post, but I’m not getting it. And if possible, change also when passing the mouse.
– user24136
It would be nice if you put the whole Hml here, because I’m not seeing the class Fc-right button that you are applying the Css.
– LeAndrade