Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
›
Shortcodes
Opening widget icons in separate window
glow28
March 2019
edited March 2019
in
Shortcodes
Hi,
I want my social icons in the footer widget to open in a separate window - so my page remains open - can you help?
Comments
glow28
March 2019
What do I have to add to this to make icon open in a new window?
<a style="color: #a8a8a8;" href=""><i class="icon-pinterest-circled"></i></a>
Pablo
March 2019
Hi,
You have to add the " target='_blank' " tag to open the website in new window.
Please check this topic:
https://www.w3schools.com/tags/att_a_target.asp
Thanks
glow28
March 2019
edited March 2019
thankyou - can you show me where this goes in the html - eg is it like this?
<a style="color: #a8a8a8;target='_blank';" href=""><i class="icon-pinterest-circled"></i></a>
Pablo
March 2019
Look how it's made on the w3schools:
http://prntscr.com/mzib0m
Thanks
glow28
March 2019
Sorry _
can't
make it work - please add tag to this
so i
can see what to do
<a style="color: #a8a8a8;" href=""<i class="icon-pinterest-circled"></i></a>
Pablo
March 2019
edited March 2019
It should look like this:
<a style="color: #a8a8a8;" href="#" target="_blank"><i class="icon-pinterest-circled"></i></a>
Do not forget to include the link to "href" parameter.
Thanks
glow28
March 2019
Great - thanks Pablo
Sign In
or
Register
to comment.
Comments