Board index PBase HTML and Style Sheets Getting rid of the "PBase" block

HTML and Style Sheets

Getting rid of the "PBase" block

Customize your galleries.
elmhurstsportsphotos
 
Posts: 9

Getting rid of the "PBase" block

Post Sun Jul 27, 2008 1:30 am


99.9% of the pictures that I take are of the sports where my kids go to school. The school administration won't allow the kids to view my site and the pictures that I have taken of them while at school due to the fact that the kids can click on the PBase logo and then gain access to sites that have questionable content such as nude photos.

My question, based on the style sheet that I have which is root for all of the sub galleries, is there a way to eliminate the block at the top that has the PBase, Galleries, Forum, Search, Home, Logout, and Help tabs.

http://www.pbase.com/elmhurstsportsphotos/galleries01

Thanks for any help!
I have learned so much from all of you!

Mike Osgood

dang
 
Posts: 3780

Re: Getting rid of the "PBase" block

Post Sun Jul 27, 2008 4:41 am


Hi Mike,
you can add this into the top of your CSS, But you'll need to "import" a style sheet into your profile to remove it there. However, it's not possible to remove the menu bar from your recently updated page. So it's not 100% effective, sorry.

/* --- simple code to hide the menu -- */
/* -- by Arjun Roychowdhury -- */
/* --- http://www.pbase.com/arjunrc -- */
body table td a img { display:none;}
.thumbnails table img {display:none;}
table img {display:block;}
.display,.display img {display:block;}
.thumbnails table,.thumbnails table img, .display,p.small{
display: inline;
body div.galleryheader table td a img {display:inline;}
}

elmhurstsportsphotos
 
Posts: 9

Re: Getting rid of the "PBase" block

Post Sun Jul 27, 2008 2:19 pm


Thanks for the info Dang.

Somehow on my front page I was able to hide that bar but I can't remember or figure out what I did to hide it. When I look at the block info, it's still there; it's just hidden.

Mike

dang
 
Posts: 3780

Re: Getting rid of the "PBase" block

Post Sun Jul 27, 2008 2:52 pm


elmhurstsportsphotos wrote:Thanks for the info Dang.

Somehow on my front page I was able to hide that bar but I can't remember or figure out what I did to hide it. When I look at the block info, it's still there; it's just hidden.

Mike


I'm not real sure since the coding you've used isn't visible to me. There's several ways of doing it though, including adding a "minus" top boarder. The most common way of removing the additional "text links" (below the main menu bar) are by making their color the same as the background. There's several ways of going about both if you look through earlier threads.

Hope you get it sorted.

mccartney
 
Posts: 94

Re: Getting rid of the "PBase" block

Post Thu Feb 19, 2009 7:27 am


I'm glad that I came across this code - I have been looking for an answer for a while.
Problem is that if I add those lines to my Stylesheet, then my slideshow stops working. So I have put it back to the way it was with the slideshow operational for now, but would still like to remove the Pbase menu from the top of the pages.
Can anyone help with this please.
Thank you.

dougj
 
Posts: 2276

Re: Getting rid of the "PBase" block

Post Thu Feb 19, 2009 10:39 am


Try this version & see if it works for you, I made a small change for a different purpose, but the slide show works.

FWIW, I have 1 gallery that has several pages and I wanted the positioning of 'previous, page xxx, next' to be left, center, right. The original code had it all on the left.

Code: Select all
/* -- simple code to hide the menu -- */
/* -- by arjun -- */

body table td a img { display:none; }
.thumbnails table img { display:none; }
table img { display:block; }
.display,.display img { display:block; }
.thumbnails table img, .display,p.small { display: inline; }
body div.galleryheader table td a img { display:inline; }

mccartney
 
Posts: 94

Re: Getting rid of the "PBase" block

Post Thu Feb 19, 2009 9:12 pm


Thanks Dougj - I'll give it a try later this evening or tomorrow - will let you know!
Thanks again.
Barry McCartney Photography - http://www.pbase.com/mccartney

mccartney
 
Posts: 94

Re: Getting rid of the "PBase" block

Post Fri Feb 20, 2009 1:16 am


Thanks Dougj - the new version of the code works perfectly with the slideshow functon - well done and thanks again!
Barry McCartney Photography - http://www.pbase.com/mccartney

dougj
 
Posts: 2276

Re: Getting rid of the "PBase" block

Post Fri Feb 20, 2009 1:36 am


I'm glad it worked for you, sometimes it's the little things....


Board index PBase HTML and Style Sheets Getting rid of the "PBase" block

Who is online

Users browsing this forum: No registered users and 1 guest