Tagged: x
-
AuthorPosts
-
October 24, 2016 at 11:56 am #1228585
JeypolitanParticipantHi there,
I have seen on many websites and blogs, that people have a widget of a grey map and a pin showing their “current location” based on country/city. (See example here and here).
I have searched everywhere for how to do this/what the widget is called, and I cannot find it anywhere 🙁
Please advise if you know which widget this is, or how I can recreate it in a similar style?Best,
JOctober 24, 2016 at 11:57 am #1228587
JeypolitanParticipantThis reply has been marked as private.October 24, 2016 at 3:05 pm #1228838
JadeModeratorHi J,
As I have checked, those widgets are not detecting the location of a visitor and they are just text widgets width images in it.
Hope this helps.
October 24, 2016 at 3:32 pm #1228858
NicoModeratorHi There,
Thanks for writing in.
I have tried to search that kind of plugin however it would be best to contact the blogger and ask for the plugin they used because I could not see any similar plugin.
Thank you so much for understanding.
October 24, 2016 at 3:55 pm #1228885
JeypolitanParticipantHi Nico and Jade,
Many thanks for your reply, and I completely understand. Thank you so much for researching.
I will manually post an image and edit the location pin based on my current location.
Just one question (because the formatting ruins the clarity of the text on the image), how can I change the font of an individual widget’s title or normal text?For instance, for this “location widget” I want either the title or the text to be Helvetica and centered. How can I do this? 🙂
Many thanks!
Best,
JOctober 25, 2016 at 2:11 am #1229421
FriechModeratorHi J,
You can wrap it on a span tag and style it.
e.g.
<span style="font-family: 'Helvetica Neue';text-align: center;">Current location: London, UK</span>Hope it helps, Cheers!
October 25, 2016 at 8:53 am #1229828
JeypolitanParticipantHi Friech,
Many thanks for your response.
This code helped the font style, but it did not center the text unfortunately.
How can I center the text so it is in the middle, and not to the left? 🙂Best,
JOctober 25, 2016 at 9:56 am #1229926
ThaiModeratorPlease update the previous code to this:
<span style="font-family: 'Times New Roman';text-align: center;display: block;">Current location: London, UK</span>Hope it helps 🙂
October 25, 2016 at 11:38 am #1230091
JeypolitanParticipantHi Thai,
Thank you so much, that worked perfectly! 🙂
Just one last question: I removed a small code from my CSS section (thinking this was an unnecessary code), and little did I know that this was the code that removed some space/margin between each widget in my sidebar.
I would like to make the space between each widget (in my sidebar) smaller please. It was a very small CSS code.
Right now they are a little bit too far from each other, and I would like them to be a bit closer to each other.Please advise 🙂
Many many thanks!
Best,
JOctober 25, 2016 at 1:17 pm #1230243
JadeModeratorHi J,
Please try this code:
.x-sidebar .widget { margin-top: 1em; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1228585 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
