Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all,
I use waffles as the theme for my website.
On looking at the theme's home page,
http://www.iearth.ru/
i have decided to put contents in
preface regions,i.e., preface first, middle, last.
Now a an image and explanation about the image
is that what we can see in that homepage(theme).
I too need the same thing, so i tried
but the explanation about the image goes
to next line,i.e to bottom of the picture.
I need it against the image.
(Do not need table)
What can i do. Help would be very
thankful.
Comment | File | Size | Author |
---|---|---|---|
#1 | Screenshot-1.png | 459.2 KB | siva.thanush |
Comments
Comment #1
siva.thanush CreditAttribution: siva.thanush commentedThe screen shot of the home page Please help me
Comment #2
Deepika.chavan CreditAttribution: Deepika.chavan commentedHi,
In my case, I created blocks, in that blocks I am printing an image in '< img >' tag and description in '< p >' tag.
then I added following css in local.css file.
Please change the width of 'p' accordingly.
Clear cached data here-admin/settings/performance.
You can add div before image tag and one div before p tag, the structure will look like this :
Now we can add above css to '#preface .content .image-div' instead of '#preface .content img ' and to '#preface .content .description-div' instead of '#preface .content p'.
HTH!!
Rgrds,
Deepika Chavan.
Comment #3
siva.thanush CreditAttribution: siva.thanush commentedYa it works.