• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Alex
  • Private: No
  • Open Date: 16.10.16, 13:32
  • Opened by: Francisco
  • Closed by: Alex
  • Closed on: 14.11.16, 23:48
  • Reason: Closed
  • Comment: Glad to help!

Ticket #9974 - social network in the top

Hello, I have in the bottom this social network //subefotos.com/ver/ but I want it in the top //subefotos.com/ver/

Could you said me how can I put the social network in the top?
Thanks

Comments

Alex 17 Oct 2016, 17:05

Hi. For that you need
to move the code from the file \modules\pk_themesettings\views\frontend\footer_bottom.tpl

{if $theme_settings.socials_in_footer == 1}
<div id="socialnetworks">
<ul class="socialnetworks_menu dib">
{foreach from=$soc item=s key=name}
<li class="{$name} dib sec_bg"><a title="{$name}" target="_blank" href="{$s}" class="icon-{$name}"><svg class="dib svgic svgic-{$name}"><use xlink:href="#si-{$name}"></use></svg></a></li>
{/foreach}
</ul>
</div>
{/if}

to the file \themes\alysum\header.tpl
here http://screencast.com/t/YS22Ifejf2

Francisco 01 Nov 2016, 23:27

thanks a lot, but I have a problem. Social networks aren´t responsive in smarthpone. How Could I solution it? thanks

Alex 02 Nov 2016, 17:21

Hi. Now as I see the icons is in the bottom. Write me back when they will be on the top and I will look what I can to do

Francisco 02 Nov 2016, 18:02

Ok, I have just put the icons in the top again. Thanks

Francisco 02 Nov 2016, 18:17

I have just see that when I change the file header.tpl My background footer dont finish in the borders left and right

Alex 02 Nov 2016, 23:49

Mobile fix for social icons. Add this code to the CustomCSS

@media (max-width:728px) {#header #socialnetworks {top:195px; right:0;position:absolute}}

I’ve fixed the issue with the footer

Francisco 13 Nov 2016, 23:34

thanks a lot.

claudia volpin 20 Jan 2017, 12:33

hello, I tried to enter the code in the header

{if $theme_settings.socials_in_footer == 1}
<div id=”socialnetworks”>
<ul class=”socialnetworks_menu dib”>
{foreach from=$soc item=s key=name}
<li class=”{$name} dib sec_bg”><a title=”{$name}” target=”_blank” href=”{$s}” class=”icon-{$name}”><svg class=”dib svgic svgic-{$name}”><use xlink:href=”#si-{$name}”></use></svg></a></li>
{/foreach}
</ul>
</div>
{/if}

but this only generates div #socialnetworks and the tag ul .socialnetworks_menu.
have not been created tags <li>with icons them,
you must make a change to the code?

Alex 20 Jan 2017, 16:36

Hi. Please create your own ticket with the link to this. And add the FTP access in your profile I will look at the code