0

I'm using seven theme for creating a basic pages. In that created more content types including title and body as shown in figure. enter image description here

The page appear like this. enter image description here

Is it possible to add css class/styles for arranging beautiful manner. Like add custom css class for channel and language ..... How can I do this please? Thanks!

1

You can use the Display Suite module to control the wrappers of each field or add classes:

Drupal adds a lot of classes already, so you can probably look at the existing markup that Drupal is outputting and style it based on the classes that are already there.

  • Yeah tx for quick reply @Vincent. This class id displaying only in view page thats good enough for arranging data in view(like page). But what i want is arranging fields in add content page not in view page... – Manu Oct 9 '14 at 15:08
  • When in edit mode, there are edit-specific IDs you can use. For instance, on a field, you will see a wrapper ID like edit-field-[field-name]. You can use this to apply your styles. – Vincent Oct 9 '14 at 18:38
  • Here I'm unable to add me custom css classes in manage fields level. – Manu Oct 13 '14 at 8:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.