An Inside Look at the Omega Theme
![]()
When people say "mobile first" in referring to web design & theming, it's not just a mentality or something people say in a "the way it ought to be" sort of sense. They literally mean, designing the mobile theme first, then adding on CSS for tablets, desktop, and wide desktop themes. In a technical sense, it means that the global.css that contains the basic design elements of the site is loaded no matter what device you are using to view the website. Then, CSS3 Media queries determine what the size of the window is and additional stylesheets will be tacked on; either "narrow", "normal" , or "wide" - depending on the width of the device. The Omega Theme comes with built in CSS media queries that determine when to load specific stylesheets.



Comments
Updating Comments Date Format & Adding Comment Form Fields
Hi Kendall,
You've done an excellent job on your site and tutorials. I am using an Omega subtheme. I don't like the default date format used for Comments, which reads like this: (Submitted by admin on Wed, 2012-10-10 15:07). I want it to match my other custom date fields, which I set up for my blog postings. I know how to add custom date formats via the Configuration page. In fact, I used my custom date fields already as fields in my content types. What I'm struggling with is the Comment Form and Comments section of the content type. The default date format displayed for each comment cannot be changed via content type fields or css alone. I also want to add more fields to the default Comment Form if needed. I'm thinking that the only way to do this is to edit the tpl.php files, but I don't want to edit the tpl.php files unless there's no other way. Will you recommend how I can update the default date format used for Comments and also how to add custom fields to the default Drupal Comment Form. If it involves updating the tpl.php files will you please let me know how this should be done with an Omega subtheme. Thank you!!
Angelina
Entities & Display Suite
Post new comment