Youjoomla Support Forums (https://www.youjoomla.com/joomla_support/index.php)
-   YJSG Template Framework Plugin (https://www.youjoomla.com/joomla_support/forumdisplay.php?f=269)
-   -   Hiding logo on some pages (https://www.youjoomla.com/joomla_support/showthread.php?t=16216)

michy80 11-11-2017 10:50 AM

Hiding logo on some pages
 
Hi,
as the post says.. I would like to kwon if there is the possibility to hide the logo on some pages.
I have menu in header and the HOME menu item hidden (to go to home page you have click on the logo).
But on some pages I would like not to show the logo. Is it possible?
thanks for your answer.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: localhost

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Personal

michy80 11-11-2017 11:41 AM

I've found the solution and I post it for someone that has the same need.
In my custom.css file I created that class:

.nologo, #logo, #logoholder {
display: none;
}

then in MENU -> ITEM I've assigned .nologo class to the menu item (the menu item has to point to the article where you want to hide logo).
greetings

michy80 11-21-2017 07:56 AM

Uhm..
I've found a problem about the class I wrote before. By assigning the .nologo class to some pages (and it works), logo disappears also on all other pages..
Where did I went wrong?
Thank you for you answers.

neo 11-21-2017 12:33 PM

you need to make sure that the class is used only on that page , if the page is main category than all child items will get the same class,
you be better off by using html page class and add custom css

http://prntscr.com/hderxt

example

Code:

.itemid-254 #logo {
display:none;
}


michy80 03-02-2018 07:41 AM

Hi Neo,
I noticed only today that I did not answered yet to your post. I'm sorry.
The suggestion you wrote worked very fine.
Thank you

markwood321 03-28-2023 06:44 AM

Heatwaves can have serious consequences, including heat exhaustion, dehydration, and even death. It is important to take precautions when a heatwave is forecast, such as staying indoors in air-conditioned buildings, drinking plenty of water, and avoiding strenuous outdoor activities. https://heatwavehq.com/best-thermostat-for-heat-pump/

Ogenus 08-23-2023 04:27 AM

Great information. I also love haunt the house game. It is an exciting horror game. You must join the house and find the best secret of the house. You may face the ghost.


All times are GMT -4. The time now is 02:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.