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

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

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.

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

Other (195)

Popular Keywords