Post by uzumnet » Fri Oct 30, 2020 9:27 pm

hi, I want to in only homepage logo hide how can I do it?

I can try;
<?php $homepage = "/"; $currentpage = $_SERVER['REQUEST_URI']; if($homepage==$currentpage) { ?>
<style>#logo {display:none;}</style>
<?php }?>
this code but do not work.
Thanks...

Newbie

Posts

Joined
Thu Apr 11, 2019 8:23 pm

Post by straightlight » Fri Oct 30, 2020 9:39 pm

Unsupported. Contact the Journal support for assistance on this. (FAQ?)

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Gordo111 » Mon Nov 02, 2020 6:36 pm

uzumnet wrote:
Fri Oct 30, 2020 9:27 pm
hi, I want to in only homepage logo hide how can I do it?

I can try;
<?php $homepage = "/"; $currentpage = $_SERVER['REQUEST_URI']; if($homepage==$currentpage) { ?>
<style>#logo {display:none;}</style>
<?php }?>
this code but do not work.
Thanks...
I wouldn't change the php or code for this. The solution is really simple:
1) Click "Journal"
2) Click "Layouts"
3) Click "Home"
4) Click "Style Override" (top right hand corner, icon looks like a pen on paper)
5) Click the cross on "Header Visibility"

Done. Should take about 30 seconds and no code needs to change.

Hope this helps.

New member

Posts

Joined
Wed May 06, 2020 11:59 pm
Who is online

Users browsing this forum: No registered users and 5 guests