Wanting very simple css changes, how please?
Summit - August 31, 2009 - 11:23
| Project: | Dynamic display block |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I have this module working in a simple way, see www.reizen-naar.nl at the bottom.
Two questions:
1) I just want the block to be put in the middle of the screen. Where can I change this in .css?
I looked for hours using firefox, and I don't want to do more advanced theming, or ddblock settings at the moment.
First I want this block be seen in the middle, with something like "text-align: center;" but where to put it in css and at what level?
2) How to get the block show 3 images using fading, and not showing the same images next to each other?
Thanks a lot in advance for your reply!
Greetings,
Martijn

#1
You could add a left-margin to the ddblock-container class
.ddblock-container {margin-left:400px;
}
I think you solved your second question, I see the images fading.
Hope this helps you further, please let me know
#2
Hi,
Will see if first remark helps, I am not behind my pc right now, will report back about that.
For the second question, it would be great if the block would be able to set the amount of pictures shown next to each other. Right now it is showing one picture, and rolling the fade-experience with one picture only. It would be great if I was able to set the amount of pictures next to each other in settings.
I already have image-nodes (www.drupal.org/project/image) those I want to use, not other imagefields through cck etc..
So get the effect simple of (3 pictures):
|---|---|---|
|---|---|---|
Instead of only:
|---|
|---|
Thanks for the great module and your quick reply!
greetings,
Martijn
#3
The functionality in your second question is not supported by the dynamic display block module.
Maybe in the future could support the image module and multiple images per slide.
(in the advanced options with imagefield you can have more images per slide)
With the basic option with one node containing html, you could also create the effect of three images per slide, but I think this is not what you are looking for. It would only be useful if you have content (images) which don't change often.
Where does the image module store the images?
For a comparison of slideshow modules, you can have a look at this comparison
Hope this helps you further, please let me know.
#4
For your first question also have a look at Center align images
#5
Hi,
Your remark "one node containing html, you could also create the effect of three images per slide" sounds interesting.
How can I use this to get image-node images next to each other in one slide like:
|---|---|---|
|---|---|---|
The image module stores it images in a sub-directory of choice within:
"Subdirectory in the directory sites/default/files where pictures will be stored. Do not include trailing slash"
Greetings,
Martijn
#6
Have a look at the how to's:
You would need a html structure like this for sliding two slides with each three images:
<div class="slides"><div class="slide">
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
</div>
<div class="slide">
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
<div class="slide-image"><img src="[Fill in your image source here]" /></div>
</div>
</div>
Hope this helps you further, please let me know.
#7
Hi Philip,
Will look into it further. Using your links.
If anyone else already done this, please post your code for the node here please!
Greetings, Martijn
#8
close issue, 8 weeks without activity.