Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: center text title in a view

center text title in a view 1 year 1 month ago #44326

  • eligeski
  • eligeski's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 39
  • Karma: 0
Using Drupal 6, Views module, grid layout.

I'm looking for CSS code to center align the title (and thumbnail image if possible) of each video on this page:

bostonphil.org/video_gallery

I've tried text-align: center and margin: 0 auto. Neither worked.

Thoughts?

Thanks!
Please become a member of OSTraining to reply to this post.

center text title in a view 1 year 1 month ago #44332

  • eligeski
  • eligeski's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 39
  • Karma: 0
Hah! Nevermind. Finally after an hour I got the right selector. All set!
Please become a member of OSTraining to reply to this post.

center text title in a view 1 year 1 month ago #44373

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16843
  • Thank you received: 393
  • Karma: 57
Hi eligeski,

Awesome! We're glad you got things sorted! Great job! :)

By the way, have you check out our coding classes? We have an HTML class, a CSS class, and a new PHP class available:
www.ostraining.com/training/overview/coding-classes/

One of the next classes on the list is a Drupal Themeing class :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

center text title in a view 1 year 4 weeks ago #44514

  • eligeski
  • eligeski's Avatar
  • OFFLINE
  • OSTudent
  • Posts: 39
  • Karma: 0
Hi Nick,

Actually, yes. I'm starting PHP now. A theming class would be great. I did the CSS a while back.

Thanks!

Erica
Please become a member of OSTraining to reply to this post.

center text title in a view 1 year 4 weeks ago #44524

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16843
  • Thank you received: 393
  • Karma: 57
Hi eligeski,

Great!

We're hoping that the Drupal theming class is one of the next ones we add :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.