We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Buttons size | Forum

Topic location: Forum home » Development » Themes
OW-Ghost
OW-Ghost Jan 7 '17
you css worked Darryl B but it was effected my newly created pages the same and i not wanted that only the default pages that use this addthis plugin. but it probably how this oxwall is built. all pages effect by anything you add in admin dashboard ,meta to. it is frustrating sometimes when you want create you own custom made pages or use hreflang or anything that you need create just for that page not ALL
The Forum post is edited by OW-Ghost Jan 7 '17
Darryl B Leader
Darryl B Jan 7 '17
The css should be global, and the "!mportant" tag is a css override. It is necessary to override the plugins styling. It will apply to any element with that class name.
OW-Ghost
OW-Ghost Jan 7 '17
i understand that, thanks!
Darryl B Leader
Darryl B Jan 7 '17
There may be a javascript solution to set the attribute back to the original on the custom pages. Not sure though.
OW-Ghost
OW-Ghost Jan 7 '17
yes i have seen a java code like that before ....hmmm ....okey no problem i will try live with it. it is not a big issue
Darryl B Leader
Darryl B Jan 7 '17
Okay. Just in case. Here is a potential js solution. It will look for the element on the user page only, and change it. According to StackOverflow it will override the !important tag for the cass. This is just an example of changing one class on a page.

<script>
$(document).ready(function() {
    if(window.location.href.indexOf("user") > -1) {
        $('.at-icon').attr('style','width:16px !important');
    }
});
</script>
OW-Ghost
OW-Ghost Jan 7 '17
i will try that script :) thanks!
Oxwall Software
Oxwall Software Jan 25 '17
Topic was moved from Social media sharing.
Joseph
Joseph Feb 19
<script>
$(document).ready(function() {
    if(window.location.href.indexOf("user") > -1) {
        $('.at-icon').attr('style','width:16px !important');
    }
});
</script>

--------------------------------------------------

The issue I have, is this messes with users/search page.


Edit: place / after user - fixed.

The Forum post is edited by Joseph Feb 19
Pages: « 1 2