PDA

View Full Version : Hide Face Book and Twitter Icons in modern template ?



Pete Young
June 12, 2014, 02:06 AM
How do I use code to hide the two social media icons at the bottom right, * do not want to delete code just hide it by using ? <--- code ---> ? will this work or is there another way / + location , where to find the place that controls this section of the template ?

Thanks
Pete

http://www.flynax.com/forum/attachment.php?attachmentid=1018&d=1402538718

Viktor
June 12, 2014, 05:32 AM
Hello Pete,

You can remove it or hide in: ftp://templates>>your_template>>tpl>>footer.tpl fild line:


<div class="icons">

and code into this 'div' you can remove or hide.
Also in smarty you can hide code with tags {* code code code *}

Pete Young
June 12, 2014, 06:02 AM
Hello Pete,

You can remove it or hide in: ftp://templates>>your_template>>tpl>>footer.tpl fild line:


<div class="icons">

and code into this 'div' you can remove or hide.
Also in smarty you can hide code with tags {* code code code *}

? So Viktor do i just add the hypens to the word div to hide this yes ? so it would look like this ?


<'div' class="icons">

Viktor
June 12, 2014, 09:27 AM
Hello Pete,

You can do it like this:



<div class="icons">
{*
code code code
code code code
code code code
*}
</div>

Pete Young
June 12, 2014, 02:13 PM
Thanks Viktor that worked out fine, can you now tell me where i control the depth of that footer, it is now quite a deep hole with that missing and I would like to norrow the footer height down a little to take up the empty space ?

Viktor
June 13, 2014, 03:33 AM
Hello Pete Young,

You ca do it there: ftp://templates>>your_template>>css>>common.css at line ~ 652

find class:
div#footer_bg

and change parameters from:



height: 168px;
margin-top: -168px;


to


height: 120px;
margin-top: -120px;


save and check again.

Pete Young
June 13, 2014, 02:18 PM
Worked Brilliant, Thanks Viktor for your help.
Pete

Guenter
June 1, 2021, 12:05 AM
Hello Viktor,

I will also remove it but in my footer.tpl ist nothing like this div class?

Rudi
June 1, 2021, 02:49 AM
Hello,

You can find it in templates > your_template > tpl > footer_data.tpl

or disable the icons via css style:



.footer-data {
display: none;
}

Guenter
June 1, 2021, 10:17 AM
Hello Rudi,

thanks for help, but unfortunately it doesn't work.

I removed it from footer_data.tpl (pic1)
and additionaly from style.css

but there is no effect. It's still there anyway (pic2)

4210
4211

Wei Hong
June 1, 2021, 11:15 AM
Hello Rudi,

thanks for help, but unfortunately it doesn't work.

I removed it from footer_data.tpl (pic1)
and additionaly from style.css

but there is no effect. It's still there anyway (pic2)

4210
4211

This one is from template > tpl > controllers > listing_detail.tpl, then look for the "addthis" section and remove it

Rudi
June 1, 2021, 11:49 AM
These icons should be removed from tpl > controllers > listing_details.tpl > find near at the bottom of the file AddThis Button BEGIN

remove or comment out the code below

Jenő Kocsi
June 1, 2021, 12:53 PM
Hello Rudi,

thanks for help, but unfortunately it doesn't work.

I removed it from footer_data.tpl (pic1)
and additionaly from style.css

but there is no effect. It's still there anyway (pic2)

4210
4211

listing-details.tpl

Guenter
June 1, 2021, 10:07 PM
Thanks to all, it works fine!