Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Shareaholic & Montezuma CSS. Not compatible?


  #1  
Old Oct 29, 2013, 06:03 PM
Paco
 
13 posts · Dec 2012
Hi guys,
I found a strange CSS position with the Shareaholic's plugin last actualization.
I'm using 1.7 WP, 1.1.9 Montezuma theme (amazing theme, i love it !!!) and Shareaholic v7.0.4.8 in my personal blog: scop.ws
But since i actualized to last version for all three, i have a problem whith Shareaholic icons "to share" like this (from http://scop.ws/error-con-el-certificado-digital/):


and (with another Shareaholic theme icons)


My friends, i tried resolve with some ways but only i found this solution, but i disagree because we need to modify Montezuma's CSS style.


I did it with Firefox Web Inspector (crtl + May + I).

With these modifications into CSS, can to see Shareaholic icons correcty but...
Any other solution is possible? Please, i don't like to modify Montezuma CSS about this.

Paco.
scop.ws

P.D.: Do you like my "personalization" theme? Montezuma is truth, Montezuma is the way.
  #2  
Old Oct 29, 2013, 07:19 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
The problem, as I noted in this thread, is that both Montezuma and Shareaholic both use the <i> tag at the end of list items to display icons. So the CSS for one may interfere with the styling for the other. Which one is correct? They both are, IMO. Montezuma can't foresee what elements every plugin is going to use, and plugin developers can't foresee how theme developers are going to use different elements in their theme.

However, I don't think the solution in this case is to eliminate the Montezuma CSS that is causing a problem with Shareaholic, because you may unintentionally cause a side effect on something else within the theme. Instead, Shareaholic should have provided a rule with a more specific selector if an element needs to be a specific size or if an element should automatically size itself, like:
Code:
.shareaholic-canvas shareaholic-share-buttons-container shareaholic-share-buttons-wrapper ul.shareaholic-share-buttons li.shareaholic-share-button i.shareaholic-service-icon {
   width: auto;
   height: auto;
}
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #3  
Old Oct 29, 2013, 07:43 PM
Paco
 
13 posts · Dec 2012
thanks for your answer. i like that solution, i don't like to modify Montezuma CSS.
But, i think (sorry if i am wrong) we can't modify Shareaholic CSS because it's imported "on fly" from externals servers.

then, what do you think we must to do while?

Last edited by lmilesw; Oct 29, 2013 at 10:21 PM.
  #4  
Old Oct 30, 2013, 06:55 AM
juggledad's Avatar
juggledad
 
23,551 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Have you looked in the plugin folder to see if there is a CSS folder? You can edit the css there, but next time you update the plugin you will have to re-do it.

If you add the CSS into the Montezuma options it will remain over updates of the theme, the plugin and/or WordPress.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Nov 2, 2013, 02:59 AM
Paco
 
13 posts · Dec 2012
Oks, i'll do it!
  #6  
Old Nov 13, 2013, 02:35 PM
Andy - Shareaholic
 
1 posts · Nov 2013
Boston
Great news! We just released a CSS update that should make our share buttons show up correctly in Montezuma (if it's not showing up for you, try clearing your browser cache)

The problem was that the theme was overriding our styles and therefore we had to add more specificity and !important a few things. If there's anything else we can help you with, please check out http://support.shareaholic.com/hc/en-us
  #7  
Old Nov 13, 2013, 11:21 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Andy, thank you very much for accommodating the Montezuma theme community, I'm sure many of us really appreciate your developers going the extra mile in supporting the theme.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #8  
Old Nov 25, 2013, 05:02 PM
Paco
 
13 posts · Dec 2012
Quote:
Originally Posted by Andy - Shareaholic
Great news! We just released a CSS update that should make our share buttons show up correctly in Montezuma (if it's not showing up for you, try clearing your browser cache)

The problem was that the theme was overriding our styles and therefore we had to add more specificity and !important a few things. If there's anything else we can help you with, please check out http://support.shareaholic.com/hc/en-us
Really Great news!

Bookmarks

Tags
compatible, css, montezuma, shareaholic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shareaholic buttons rendering strange.. tisker Montezuma Theme 3 Oct 29, 2013 06:10 PM
Shareaholic and Version 3.7.1 kippiper Plugins & Atahualpa 6 Oct 7, 2011 03:57 PM
Are ATA v3.5.3 and WP v3.0.3 compatible? GILSAN New Versions, & Updating 4 Feb 20, 2011 06:44 PM
Why not X-UA-Compatible : IE=8? mdmower Atahualpa 3 Wordpress theme 6 Sep 24, 2010 07:35 AM
WordPress 3.0 compatible? Ber|Art Atahualpa 3 Wordpress theme 2 Jun 15, 2010 06:04 PM


All times are GMT -6. The time now is 05:01 PM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.