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

Germany Cloud Servers
Ubuntu VPS
Linux KVM Hosting
Windows Cloud Server
Brazil VPS
cPanel KVM
Linux Cloud Server
KVM VPS
OpenVZ VPS
USA VPS

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.

Brazil VPS
Linux Cloud Server
Windows Cloud Server
cPanel KVM
KVM VPS
OpenVZ VPS
USA VPS
Ubuntu VPS
Germany Cloud Servers
Linux KVM Hosting
Rate this Tutorial:
No Comments Leave a Comment
Leave a Comment

Other (195)

Popular Keywords