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.
By wayver on
How do I overlay text or graphics on a photo block. (Landing page, Photo block, etc.)
example: http://www4.mcdonalds.ca/mccafebakery/?_ga=1.123139659.1938961322.148320...
Comments
check out the following example solution
The URL below contains an example of images in a carousel with text overlays and masks.
The implementation involves theme support and CSS support.
http://demo.morethanthemes.com/bestbrand/commerce-default/?q=node/18
The guys above sell their code/sites as products for sale. Detailed study of their product theme and CSS files provides answers to your question, which cannot otherwise be answered in a sentence.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
overlaying text on a photo
I'm looking more for whats on the opening page of this site not a sales pitch.
example:https://www.drupal.org/
just helping ...
I am not associated with more than themes, but I am a customer of theirs.
I am seriously trying to help you learn how its done.
1. add theme file support for the components
2. add CSS for display of the overlay components.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
free ...
Figure out a lot for absolute free ...
By installing the firefox firebug and web developer add-ons.
If you know anything about CSS you will be able to see and figure out the CSS using those tools.
For example, in firefox, hit F12 to activate the firebug website developer/debug window.
Using the element selector tool, successively select the relevant overlay elements that are visible at the example link(s).
The CSS for those elements will be displayed in the developer info windows.
For example, looking at the drupal.org front page using firebug, it is apparent that they have implemented it with a drupal fieldable panels pane, along with CSS styling. Studying their CSS provides insights.
Firebug can be used to study the html and CSS contents of any website page. It is not Drupal specific.
Meanwhile ...
Please don't bite the hands of people who provide free help here.
If I didn't care, I could just ignore you, and let you fend for yourself.
Being thankless isn't likely to inspire people to help you.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
try the following resources ...
The free:
http://www.w3schools.com/
website is a great resources, and that is a plug.
Here are two specific educational resources that specifically answer your question.
http://www.w3schools.com/css/tryit.asp?filename=trycss_transparency
http://www.w3schools.com/howto/howto_css_image_overlay.asp
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
by the way .,...
By the way, you are a fool if you don't think you can learn a lot about building Drupal sites from the profile/theme/distribution products that the guys at MTT create.
With that, I've provided you with plenty of free help, especially since I'm just a volunteer who donates a little of my time to this website.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
example html and css
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
Solved
Just for your info I solved it 5 min after the first post.
Don't ever expect me to
Don't ever expect me to respond to any questions about Drupal that you many have in the future.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...