How can I move activity completion closer to right side of activity?

How can I move activity completion closer to right side of activity?

by Hartmut Scherer -
Number of replies: 2

Hi all,

Activity completion in Moodle 2.9.1 using Clean looks like this:

original activity completion






The boxes for the check marks seem to be far away for the users. In order to move the boxes closer to the right side of the activity, I added in Custom CSS (position was absolute)

.section .activity .actions {

  position: relative;

  left: 20px;

}

Now it looks like this:

activity completion










One box is under the activity. It is the box where students can check themselves whether they have finished the activity. How can I move the box in the example behind the quiz? I couldn't find the right CSS code in "Inspect elements" in Google Chrome to manipulate the box. I appreciate any help.

With kind regards,

Hartmut

Average of ratings: -
In reply to Hartmut Scherer

Re: How can I move activity completion closer to right side of activity?

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

Hi Hartmut,

Add 'display: inline-block;' to your selector.

Cheers,

Gareth

Average of ratings: Useful (1)
In reply to Gareth J Barnard

Re: How can I move activity completion closer to right side of activity?

by Hartmut Scherer -

Hi Gareth,

Thanks a lot for your reply and your advice. Activity completion looks good now.

With kind regards,

Hartmut

Average of ratings: Useful (1)