We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials

More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsCMS TutorialsDrupal

How to wrap text of body around another field with panels

Cloud Servers 727 × 90

Lets say we would like to insert an image field inside the page by wrapping text of body around it. By using Drupal content editing panels we can create additional column, but this will divide the page in two fields by adding empty space in one side. What we want is to fill that empty space with text.

In this case additional implementation can be done for CSS in order to wrap text of body around another field. Here is an example
implementation which can be used in the style file.

1
2
3
.pane-node-field-image {
float: left;
}

Then we can add the image and body text in the same column. Finally, use the mentioned CSS code to float the image.

Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Cloud Servers 1 230×230

Other (195)

Popular Keywords

Web Banner 2 230×230