[SOLVED] Aside widget bar: problem with sprites
Hi there,
I'm still loving montezuma theme but here you'll find 2 problems I am now facing: 1) I have added a new widget to the side bar: songkick widget (http://wordpress.org/extend/plugins/...and-festivals/) and it seems that one does not accept the montezuma formatting: it does not have the font color (title) nor the sprite as expected with <h3>. Here is the result: www.apericut.com ("prochains concerts"). Is there a way to force (again) the widget to use the right formatting from the CSS? 2)I've been trying to modify the icons for other widgets using the values defined in the CSS settings/using menu icons sections but I don't get the expected icons in the end. For instance: Code:
.widget_loginradius > h3 i { background-position: -120px -2352px } Is there an offset I should consider? Or something else? Thanks for your kind help! Boris |
the theme is using '.widget > h3' to style the widget, but in this widget there is an extra 'div' between the 'aside' that has the class 'widget' and the 'h3'
you can go into the 'widget.css and everywhere you see '.widget > h3' you could add, just before it '.widget div > h3,'. Where you see '.widget > h3 i', you need to add '.widget div > h3 i,' the comma is important. |
Hi juggledad,
Thanks. I did the modification you suggested me. However it has changed all my widgets titles style to the same as my Songkick widget. Even if it is now consistent (black and grey without the sprite) :-), my original request was to keep the same Montezuma style (with the sprite and same font color - Black and blue). Do you any suggestion? Thanks. Boris |
I said
Quote:
|
I forgot to change one indeed. I changed it, but result remains the same.
|
Hi,
I reloaded the original css file and did again the modifications in order to make sure there is no mistake. Then played a bit more with the css file but I still get the same result... Even if it is not so bad :-), I am still wondering how I could apply the theme correctly. Thanks for your kind help! |
1) where did you get the widget - url please
2) go to mto->export import - copy yout settings to a TEXT file and attach them to a reply |
Sorry for my late reply.
1) Here is the URL for the pluggin : http://wordpress.org/extend/plugins/...and-festivals/ 2) Which settings do you need? I don't really get what you are asking... :-( Thanks. |
go to dashboard->appearances->Montezuma Options (mto)->Export Import->Current Montezuma Settings:
|
1 Attachment(s)
OK thanks :-)
Here is the file attached. |
Replace your 'widget.css' with the following
HTML Code:
/******************************************************************** |
Hi Juggledad!
Thanks now I understand. In the end this is not really clean: if I need to modify the icon for a given widget, I need to apply to ".widget div > h3 i" and ".widget > h3 i"... but it works perfectly! However, how does it work for the mapping with .png including all the icons? Again thanks for the tweaks! Boris |
you have to know the location of all the sprite in the image and tehn identify teh widget class that will uniquely identify the widget. in outer words, you need to know some css and how to read a html page or use a code examiner like firebug. And reading the on screen documentatin for 'Using Menu Icons' in the 'Editing CSS' section
|
OK thanks for your help.
Boris |
Just to close the topic: by default, widget.css use sprites from another png file (icons.png) compared to the other menu icons (menu-icons-0090d3.png)... That's the reason why I was not getting the expected icons for my widget bar.
Again thanks for your kind help... |
All times are GMT -6. The time now is 04:27 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.