Just use CSS to add a background image to the standard text titles.
Hm… I’m afraid I’m not so experienced to do so…
Should I modify the widgets.php file?
:-$
Can you give me more information to do so?
Thanks a lot!
π
You need to modify your theme’s stylesheet and use something like:
#primary .xoxo #widgets-reloaded-nav-menu-3 .widget-title {
background:images/metodologia.jpg center top no-repeat;
}
#primary .xoxo #widgets-reloaded-nav-menu-4 .widget-title {
background:images/soluzioni.jpg center top no-repeat;
}
etc.
I’m trying, but.. it seems not working
:-S
I’ve found in the style.css file the section
/* =Widget Areas
In this section I found an empty declaration
#primary {
}
I’ve seen that my first navigation widget is called 3, so… substituted the empty declaration with this one:
#primary .xoxo #widgets-reloaded-nav-menu-3 .widget-title {
background-image: url(http://www.lemappedelpensiero.it/wordpress/wp-content/uploads/tasti-menu/metodologia.png)
center top no-repeat;
}
but… it doesn’t work: I only have the text
π
Any idea?
Thank you a lot
Alberto
the big disadvantage of compressing yr markup is that no one can read it……it doesnt achieve any big weight saving either,
Thanks Root for your precious additional advice!
π
Your CSS isn’t quite correct. Try:
#primary .xoxo #widgets-reloaded-nav-menu-3 .widget-title {
background: url(http://www.lemappedelpensiero.it/wordpress/wp-content/uploads/tasti-menu/metodologia.png)
center top no-repeat;
}
It works!!!!!
π
The final touch I’ve made is the following:
– to empty the title of the navigation menu, inserting a simple blank-space
– complete the css code in this way
#primary .xoxo #widgets-reloaded-nav-menu-3 .widget-title {
background: url(http://www.lemappedelpensiero.it/wordpress/wp-content/uploads/tasti-menu/metodologia.png)
left top no-repeat;
padding: 23px 0px 0 0;
}
Thank you so much, Esmi!!!
It seemed me impossible for me alone… absolutely I’m not a css expert, and I was going on by try-and-try
π