Hi All,
I'm putting together a relatively simple Boost preset for my 3.4 site. I'm struggling with getting the header card to be one size (say 200px height) in the front page, but a smaller height on my course pages.
Oddly the header reduces it height when I enter an activity or a single activity based course (which is great!), but not when enter a regular Moodle course page with topics.
Currently I have the below;
#page-header .card {
height: 200px;
background: url(http://careercolleges.org.uk/wp-content/uploads/2015/08/IMG_4654.jpg);
background-size: cover;
background-position: center;
}
.pagelayout-incourse #page-header .card {
height: 120px;
}
div#page-navbar {
position: relative;
width: 100%;
}
#page-header .card-block {
position: absolute;
width: 100%;
bottom: 0px;
}
Any ideas why this is just affecting activities and not course pages?
thanks
Chris