I managed to change Boonex logo with mine in Amin Panel but dont allow you to remove it except replace it. No option to disable/enable it either. I like to remove not only the logo but the wrapper or its top block all together, because I have my flash banner just below it, so I don't need the logo block above my banner. I spent hours checking the files without any luck. Anyone got ideas?
thx,
zak
|
You can edit the file templates/base/css/general.css
Look for this at about line 144
div.sys_main_logo { position: relative; z-index: 56;
background-color: #f4f4f4; }
Change it to look like This. Adding the line in red.
div.sys_main_logo { position: relative; z-index: 56; background-color: #f4f4f4;
display: none;
}
That will hide the entire top block.
https://www.deanbassett.com |
|
If you have a custom template you should then edit the general.css file inside the folder of your custom template.
OPEN:
templates/YOURCUSTOMTEMPLATE/css/general.css
FIND:
div.sys_main_logo { position: relative; z-index: 56; background-color: #f4f4f4; }
REPLACE WITH:
div.sys_main_logo { position: relative; z-index: 56; background-color: #f4f4f4;
display: none !important;
}
REMEBER:
Clean all your caches from you admin panel.
If it does not work switch off the caches for a while, clean them all, and switch them on again.
Web Development, Multimedia Design and Social Media. |
this will not get rid of the banner block but just go into your cpanel media/images/and delete the site logo or give it a new name ..
this pushes the menu up the top of page but you do lose quotes not sure about banners
|
this will not get rid of the banner block but just go into your cpanel media/images/and delete the site logo or give it a new name ..
this pushes the menu up the top of page but you do lose quotes not sure about banners
???????
This will make a big "?" appearing in Safari and other browsers!
Web Development, Multimedia Design and Social Media. |
thanks for the info i haven't experienced this in fire fox or ie9 you could always replace logo with 1x1p png |
Anyway the modification to the css file I have provided in the previous post will hide the logo.
You do not need to do anything else
Web Development, Multimedia Design and Social Media. |
Deleting files will only produce problems. Make sure you clear the /cache/ (except for the .htaccess file) and /cache_public/ directories after making the changes described above. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
When I followed YobiLab's instructions not only did it clear the logo and area around it. It also removed my google banner I had placed in the admin banner area. Now my menu bar is at the very top of the browser window. Any ideas on how to not disturb that area as is right below the logo. I'm using 7.0.5 default template no mods to it, other than a purple background image. See here: http://www.socialpuzzlecommunity.com
Thanks
Jeff
|
Ohhhh, ok so now my banner area is back, what I did was first I revised the code as stated. Then from admin panel I uploaded a small 16x16 png which it would not let me do but the logo that was showing in admin area also disappeared, when I did this. I then edited the code back to original and also went to the banner area in admin area and just saved it as I did when I frist placed the google code. I cleared the cache again and now the banner is showing at top of page and no more logo......whew!.....LOL hope this helps if someone else has the same prob.
Jeff
|
so the png idea is a goer i know its not super knowledge programing but it works and you get to keep top menu banners and quotes without needing a degree in dolphin template building or php |
so the png idea is a goer i know its not super knowledge programing but it works and you get to keep top menu banners and quotes without needing a degree in dolphin template building or php
It leaves artifacts in browsers from where the image was. You can easily do what's needed by making a non-disruptive change to the CSS file mentioned above. If you need to do some more maneuvering, you can edit _sub_header.html and remove the logo from there.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
there is still an image there a transparent png if you edit css the banner block and banner goes and the menu bar is pushed to top of page thus loseing banner ads and quotes not every body who uses this forum or dolphin are as well versed in the css php as many of the members who give such advice as to remove some thing in the css change php often forget they know how to fix any problems that might be caused by removing or changing css like i said remove site logo box pushes everything to top of page if you want a header picture instead of colour place picture with embedded logo and place clear png in logo this will give you the hight of the header without changing anything nor will browser be looking for anything as there is a picture in the place of the logo .. you misunderstood my delete photo thing as a delete some thing from script you have to remove logo from cpanel as you can only replace logo in admin panel. RE the clear png how ever many pxs high 1px wide pushes the header to the header picture height you might want ...
happy thoughts
|
I can finally solve one!! Only 2 years too late...
For me, setting any display: none; caused the whole thing to disappear, putting the nav bar at the top of the screen. Even targeting the image itself (.mainLogo).
So I uploaded a transparent png file (dimensions 400x200). It won't work with .jpg - the software senses that its not an image. The png gets auto resized to about 50x50 pixels or so...so then I applied a height to the .mainLogo class of 200px...and it worked! The background I have in sys_ml shows with no logo over top. You might have to play around the height in firebug to make it fit your needs.
Aaron
|
Wanted to update this thread for version 7.1.x.
Yobilab killed it with his answer, I just wanted to make it less confusing.
Look for - /*--- Logo Section ---*/
find code:
div.sys_main_logo {
...
}
Right before the } insert the code
/*--remove header--*/ display: none !important; /*--end remove--*/
Save and exit.
Clean cache files
Bam. done. Thanks guys for this help.
|