Essential Theme - standardise height of marketing spots

Essential Theme - standardise height of marketing spots

by Stephen McConnachie -
Number of replies: 2
Hi, is there any way to standardise the height of the marketing spots in Essential Theme? Have all three automatically take the height of the largest? I notice in a previous release this was identified (Issue #180 in this announcement) but my three marketing spots are each the height of the content within each box.
Thanks

Moodle 3.1.2 (20160912)
Essential 3.1.1.0 (2016061709)
Average of ratings: -
In reply to Stephen McConnachie

Re: Essential Theme - standardise height of marketing spots

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Stephen,

That issue was many moons ago and the code has since changed.

There is not yet any automatic way of setting the height of the marketing spots to be all the same height.

If one or more of your spots has an image then you can use the CSS selector '#marketing-spots.withimage .marketing-spot' otherwise '#marketing-spots.noimages .marketing-spot' or see if '#marketing-spots.noimages .marketing-spot' works for you.

Kind regards,

Gareth

In reply to Gareth J Barnard

Re: Essential Theme - standardise height of marketing spots

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Or even try:

@media (min-width: 768px) {
    #marketing-spots .row-fluid {
        display: flex;
    }
}