custom CSS class to override block CSS
I am having trouble piecing everything together.
Rather than say what I have found can I get some
help with how to do the following.
I installed the Image Slider free addon.
But it is wrapping the content in it's own div
with specified CSS class. I need control of the
div using CSS, and would like to either remove that
div wrapper or override the CSS class.
I would have looked at the dsigner content addon
but it doesn't have all available blocks listed.
Maybe I'm not understanding it's full potential.
By default it uses the dimensions of the smallest image.
Any way to define dimensions?
Essentially, what you do is copy the bock view.php and view.css into the directory:
/blocks/[blockname]/templates/[whatever name you give the template]/
(you probably need to create that directory), then edit the copies to do the styling you want.
You will then see [whatever name you give the template] in the custom template menu for the block.
Search the howtos and documentation for 'template' and 'override'. There are also many forum threads on this, but hopefully with the above concepts in mind you will be able to pick out the ones that help you without being overwhelmed.
If that's the easiest way then I guess it's what I'll do.
Thanks for the quick run down, made perfect sense.