×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Horizontal layout

Horizontal layout 8 years 4 months ago #32836

  • Steven Humphrey
  • Steven Humphrey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
i'm trying to display the form horizontally (see attached) i assume i can change the css, but i can't seem to figure it out
thanks for your help
gailkasper.com/index.php

testing page..scroll towards bottom
gailkasper.com/index.php/university/speaking.html
Attachments:

Horizontal layout 8 years 4 months ago #32839

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Steven,
Yes, you can do this with css. Alternatively if you are not happy with out default html, you can create a template override for modules/mod_cmc/tmpl/default.php and simplify the structure & then style with css.

In the attachment I just changed:
.cmc-signup .control-group {
    margin-bottom: 9px;
}
to
.cmc-signup .control-group {
    margin-bottom: 9px;
    display: inline-block;
}

Regards,
Daniel
Attachments:

Horizontal layout 8 years 4 months ago #32856

  • Steven Humphrey
  • Steven Humphrey's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Ahh.....thank you but what about the button it has to move to the same line

update: i was able to move the button but now..when the invalid alert shows it show under the form causing the input field to move

gailkasper.com/index.php/university/speaking.html

Horizontal layout 8 years 4 months ago #32881

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I wanted to have a look at it, but I cannot find the form?
The following user(s) said Thank You: Stefan Basting
  • Page:
  • 1
Time to create page: 0.201 seconds