Essential Theme - standardise height of marketing spots

Essential Theme - standardise height of marketing spots

Bởi Stephen McConnachie -
Số lượng các câu trả lời: 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)
Trung bình điểm đánh giá: -
Để phản hồi tới Stephen McConnachie

Re: Essential Theme - standardise height of marketing spots

Bởi Gareth J Barnard -
Hình của Core developers Hình của Particularly helpful Moodlers Hình của 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

Để phản hồi tới Gareth J Barnard

Re: Essential Theme - standardise height of marketing spots

Bởi Gareth J Barnard -
Hình của Core developers Hình của Particularly helpful Moodlers Hình của Plugin developers

Or even try:

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