Posted by drupaldingo on November 28, 2012 at 9:45am
Morning all!
I'm looking for some advice/guidance on how to implement a 'ribbon' along the top edge of a site (Drupal 7 using a custom theme based on Zen) Kind of like on this site - http://www.vice.com/en_uk
Can I do it with views? A new region in the theme? Or does it have to be done with CSS 'outside' of the site structure?
Any pointers much appreciated
Cheers
Comments
You could just add a block
You could just add a block with the ribbon in it and display it on every page. Here is a post that might help: http://scito.ch/de/node/11
Thanks Steeph, i'll have a
Thanks Steeph, i'll have a look at that.
Could I amend that same
Could I amend that same method to add a strip along the top edge of the site rather than a corner strip?
Thanks
Yes, that would be the same
Yes, that would be the same method. It's really just CSS. It doesn't necessarily be placed in it's own region. The important part is the "position: absolute;" that makes its position independent from the rest of the page.