Specific class according to content type
-
This is not a bug, but rather a great improvement.
But first let me give you a small background detail on my “problem”.
Until now I only had Pages in my website. So, I had ticked only Pages in the Options of the Sharing Buttons Above Content. Using custom CSS, I tweaked a little the position of the buttons row, adding some margins to align the buttons where I wanted them to appear and everything was fine.
After some additions to my website, I added a lot of Posts as well, so I also ticked the Posts option under Sharing Buttons Above Content > Options.
The buttons row appeared, but it was affected by the Custom CSS for the .addthis_toolbox property.
Similarly, I wanted to display the buttons in the Homepage as well, but as I have a revolution slider on my homepage, it pushes the fullscreen sliders down to display the buttons at the very top of the homepage. If I could use specific CSS for the buttons row specifically for the homepage, I could move them where I’d like them to be.
Additionally, while I wanted to use both buttons above the content, and below it, I couldn’t distinguish each row to apply different CSS to each of them, so I totally dropped the buttons below content.
Having said all of the above, here comes the suggestion!!!
It would be great if you added “orphan” class names describing each button row. Ie, for the buttons in a Page, add the class page, for the buttons in a Post, add the class post. For the buttons on the Homepage, add the class homepage, etc… Similarly, for the buttons above the content, add the class above, and for the buttons below the content, add the class below.
This way, the developer can write specific CSS for each of them to tailor their position according to his/her needs.
If we don’t see this coming in the next version of this great plugin, would anyone have the kindness to help/guide me for the modifications needed to implement it in my website?
- The topic ‘Specific class according to content type’ is closed to new replies.