October 16, 2012 at 8:19 pm #6035
My website http://www.integratedselfprotection.com/dev
Do you know of a piece of CSS that I may use, that when opening the post from continue reading, I can insert a piece of static text that reads “Like this? Share with Friends” just above social icons.
Thanks for your helpOctober 17, 2012 at 1:11 am #33133
Nothing that I’m aware of…
What are you using for the social icons? Are you using a plugin… or the graphene options?October 17, 2012 at 1:21 pm #33134
Josh I am using a plugin called Social Sharing toolkit, really cool plugin, which has an area for CSS, however unsure of the CSS code that would put this text next to Plugin.October 17, 2012 at 1:23 pm #33135Kenneth John OdleModerator
CSS is for styling information. It doesn’t insert text.
However, you could do that as a graphic, and add it before that using the
beforepseudo class.October 17, 2012 at 1:42 pm #33136
A quick over view of how this could be done would be appreciated.
If not, do you know of any informative reading?October 17, 2012 at 5:35 pm #33137
Well… you would upload your image with the text to your media library. Then, copy the link.
Then, in your Custom CSS… you would insert something like this:
Then, you’ll probably have to style it to move it down… because that particular div has a top margin of 100px… so your image is probably going to first appear too high. You can “knock” it down using a negative margin.October 17, 2012 at 9:49 pm #33138Syahir HakimKeymaster
If the plugin has an action or filter hook for the social icons, you can use that hook instead. Have you tried asking the plugin’s support about it?October 18, 2012 at 10:19 am #33139
Josh I have used your approach and look great.
Trying to move the words below the icons and have amended your css as follows, changing bottom for before, however no luck. Any ideas.
}October 18, 2012 at 4:36 pm #33140
Lmao… making your own css pseudo-classes 😉
There are only a select few pseudo-classes currently available in CSS…. “bottom” not being one of them 🙂
If you’re interested… here is a link explaining pseudo-classes:
Now… to try and fix the issue… try using this code instead of the code above:
This will basically add a huge margin to the right of the image… forcing the icons to the line below. What do you think?October 18, 2012 at 4:39 pm #33141
Hmmm… just re-read your post and noticed you wanted the text image BELOW the icons?October 18, 2012 at 5:57 pm #33142
Glad I made you laugh. Thanks for all your help mate 🙂 Website looking great, with a massive thanks to you 🙂October 18, 2012 at 6:04 pm #33143
Looks great. Yeah, I didn’t mean it personally… thanks for being cool 🙂
Anytime!!October 18, 2012 at 6:36 pm #33144
Thanks for all your hard work and supporting this forum.
Wouldn’t have been able to build my own company website without it.
You must be logged in to reply to this topic.