Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:11 am EST
Geeklog Forums
Media Gallery help
Status: offline
scobb77
Forum User
Newbie
Registered: 12/15/07
Posts: 14
I have been working on a new website using Geeklog (for the first time and so far, really like it) and the Media Gallery plugin. As I have been making my changes to the geeklog color scheme, I have gotten to a bit of a road block. Most pages, colors, etc (still have some small changes to make) have changed as I like but I can not get the background color of my media gallery to change from white to black. Can anyone tell me where I can do that? I figured the style.css file would take care of it but so far, no luck (that doesn't mean I didn't miss something in there).
Webpage: http://www.worstchristmaslights.com
media page: http://www.worstchristmaslights.com/mediagallery/index.php?page=1
Thanks
Webpage: http://www.worstchristmaslights.com
media page: http://www.worstchristmaslights.com/mediagallery/index.php?page=1
Thanks
11
12
Quote
Status: offline
mevans
Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Media Gallery has it's own stylesheet. It is in the public_html/mediagallery/ directory and is called mediagallery.css. You can edit it to change the various colors.
Here is a mediagallery.css that is already styled for a dark background type site, you may need to tweak a few things, but this should get you closer. Save this as mediagallery.css in the public_html/mediagallery/ directory.
/*
* +---------------------------------------------------------------------------+
* | Media Gallery Plugin 1.4 |
* +---------------------------------------------------------------------------+
* | $Id:: mediagallery.css 901 2007-06-05 23:29:33Z mevans0263 $|
* | Media Gallery Style Sheet |
* +---------------------------------------------------------------------------+
* | Copyright (C) 2004-2007 by the following authors: |
* | |
* | Author: |
* | Mark R. Evans - mevans@ecsnet.com |
* +---------------------------------------------------------------------------+
* | |
* | This program is free software; you can redistribute it and/or |
* | modify it under the terms of the GNU General Public License |
* | as published by the Free Software Foundation; either version 2 |
* | of the License, or (at your option) any later version. |
* | |
* | This program is distributed in the hope that it will be useful, |
* | but WITHOUT ANY WARRANTY; without even the implied warranty of |
* | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* | GNU General Public License for more details. |
* | |
* | You should have received a copy of the GNU General Public License |
* | along with this program; if not, write to the Free Software Foundation, |
* | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
* | |
* +---------------------------------------------------------------------------+
*/
/*
* mgAdminAlignLeft and mgAdminAlignRight control the alignment
* of all the admin screens, if you use a RTL language, you may
* want to adjust the mgAdminAlignLeft to actually be right aligned.
*/
#mgAdminAlignLeft {
text-align: left;
vertical-align:middle;
}
#mgAdminAlignRight {
text-align: right;
vertical-align:middle;
}
/* Do not change the MI classes, they are used to help
* control the frames on images
*/
.mgPluginMI {
padding:0 !important;
}
.mgPluginMI tr {
vertical-align:top;
}
.mgPluginMI td {
padding:0px !important;
}
/*
* Base classes used to control the look and feel
* of Media Gallery
*/
.mgPlugin {
color:#000000;
background-color:#000000;
font-weight:normal;
border:0px solid #CCCCCC;
}
.mgPlugin img {
padding:0;
}
.mgPlugin p {
padding-top:3px;
margin-top:3px;
}
.mgPlugin h1 {
font-size:1.4em;
margin:0px;
}
.mgPlugin ul {
list-style-position: outside;
margin-left: 0px;
padding-left: 15px;
list-style: square;
vertical-align: middle;
}
.mgPlugin li {
margin: 0px;
padding: 0px;
}
.mgPlugin textarea {
font-size: 1em;
}
.mgPlugin th {
color:#FFFFFF;
font-weight:bold;
background-color:#2a2a2a;
padding:5px;
font-size: 1.2em;
text-align:center;
}
.mgPlugin tr {
vertical-align:top;
}
.mgPlugin td {
padding:5px 5px 5px 5px;
}
.mgPluginMeta {
font-size:0.85em;
background:transparent;
color:#000000;
}
.mgPluginItemFooter {
clear:both;
padding:3px;
text-align:center;
font-size:0.85em;
}
.mgPluginHeader, .mgPluginHeader td {
background:#2a2a2a;
color: #a5a464; !important;
font-weight:bolder;
padding-top:3px;
padding-bottom:3px;
}
.mgPluginFooter, .mgPluginFooter td {
background-color:#333333;
color:#FFFFFF;
padding: 5px 5px 5px 5px;
}
.mgPluginAlert {
padding:5px 15px 5px 15px;
color:#D8010E;
background-color:#FEF1B4;
font-weight:bold;
}
.mgPluginTinyText {
font-size:0.70em;
}
.mgPluginSmallText {
font-size:0.8em;
}
.mgPluginMediumText {
font-size:1em;
}
.mgPluginLargeText {
font-size:1.25em;
}
.mgPluginAltText {
color:#FFFFFF;
}
.mgPluginRow1, .mgPluginRow1 td {
color:#cc6600;
background-color:#191919;
line-height:120%;
}
.mgPluginRow2, .mgPluginRow2 td {
color:#cc6600;
background-color:#444444;
line-height: 120%;
}
.mgPluginRow1 .mgPluginRollOver,
.mgPluginRow2 .mgPluginRollOver,
.mgPluginRollOver {
color:#000000;
background-color:#FFFFFF;
line-height:120%;
}
.mgPluginRow1 .mgPluginRollOut,
.mgPluginRow2 .mgPluginRollOut,
.mgPluginRollOut {
color:#000000;
background-color:#F7F7F7;
line-height:120%;
}
.mgPluginBreadCrumbs,
.mgPluginBreadCrumbs A:link {
color:#CC6600;
background:#191919;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
.mgPluginBreadCrumbs A:visited {
color:#800800;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
.mgPluginBreadCrumbs A:hover {
color:#008000;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
/*
* Standard styles for controlling image drop shadows
* and default Media Gallery borders.
*/
.out {
display:block;
background:#bbb;
border:1px solid #ddd;
position:relative;
margin:1em 0;
}
.in2 {
display:block;
background:#777;
border:1px solid #999;
position:relative;
padding:1px;
margin:1px;
}
.in {
text-align:center;
background:#fff;
border:1px solid #555;
position:relative;
padding:5px;
font-weight:normal;
}
.ltin {
left:-5px;
}
.tpin {
top:-5px;
}
.rtin {
left:5px;
}
/*
* Slimbox (lightbox) classes, do not change these
*/
#lbOverlay {
position: absolute;
left: 0;
width: 100%;
background-color: #000;
cursor: pointer;
}
#lbCenter, #lbBottomContainer {
position: absolute;
left: 50%;
overflow: hidden;
background-color: #fff;
}
.lbLoading {
background: #fff url(images/loading.gif) no-repeat center;
}
#lbImage {
border: 10px solid #fff;
background-repeat: no-repeat;
}
#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: 0;
width: 50%;
outline: none;
}
#lbPrevLink {
left: 0;
}
#lbPrevLink:hover {
background: transparent url(images/prevlabel.gif) no-repeat 0% 15%;
}
#lbNextLink {
right: 0;
}
#lbNextLink:hover {
background: transparent url(images/nextlabel.gif) no-repeat 100% 15%;
}
#lbBottom {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #666;
line-height: 1.4em;
text-align: left;
border: 10px solid #fff;
border-top-style: none;
}
#lbCloseLink {
display: block;
float: right;
width: 66px;
height: 22px;
background: transparent url(images/closelabel.gif) no-repeat center;
margin: 5px 0;
}
#lbCaption, #lbNumber {
margin-right: 71px;
}
#lbCaption {
font-weight: bold;
}
Thanks!
Mark
Here is a mediagallery.css that is already styled for a dark background type site, you may need to tweak a few things, but this should get you closer. Save this as mediagallery.css in the public_html/mediagallery/ directory.
Text Formatted Code
/*
* +---------------------------------------------------------------------------+
* | Media Gallery Plugin 1.4 |
* +---------------------------------------------------------------------------+
* | $Id:: mediagallery.css 901 2007-06-05 23:29:33Z mevans0263 $|
* | Media Gallery Style Sheet |
* +---------------------------------------------------------------------------+
* | Copyright (C) 2004-2007 by the following authors: |
* | |
* | Author: |
* | Mark R. Evans - mevans@ecsnet.com |
* +---------------------------------------------------------------------------+
* | |
* | This program is free software; you can redistribute it and/or |
* | modify it under the terms of the GNU General Public License |
* | as published by the Free Software Foundation; either version 2 |
* | of the License, or (at your option) any later version. |
* | |
* | This program is distributed in the hope that it will be useful, |
* | but WITHOUT ANY WARRANTY; without even the implied warranty of |
* | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* | GNU General Public License for more details. |
* | |
* | You should have received a copy of the GNU General Public License |
* | along with this program; if not, write to the Free Software Foundation, |
* | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
* | |
* +---------------------------------------------------------------------------+
*/
/*
* mgAdminAlignLeft and mgAdminAlignRight control the alignment
* of all the admin screens, if you use a RTL language, you may
* want to adjust the mgAdminAlignLeft to actually be right aligned.
*/
#mgAdminAlignLeft {
text-align: left;
vertical-align:middle;
}
#mgAdminAlignRight {
text-align: right;
vertical-align:middle;
}
/* Do not change the MI classes, they are used to help
* control the frames on images
*/
.mgPluginMI {
padding:0 !important;
}
.mgPluginMI tr {
vertical-align:top;
}
.mgPluginMI td {
padding:0px !important;
}
/*
* Base classes used to control the look and feel
* of Media Gallery
*/
.mgPlugin {
color:#000000;
background-color:#000000;
font-weight:normal;
border:0px solid #CCCCCC;
}
.mgPlugin img {
padding:0;
}
.mgPlugin p {
padding-top:3px;
margin-top:3px;
}
.mgPlugin h1 {
font-size:1.4em;
margin:0px;
}
.mgPlugin ul {
list-style-position: outside;
margin-left: 0px;
padding-left: 15px;
list-style: square;
vertical-align: middle;
}
.mgPlugin li {
margin: 0px;
padding: 0px;
}
.mgPlugin textarea {
font-size: 1em;
}
.mgPlugin th {
color:#FFFFFF;
font-weight:bold;
background-color:#2a2a2a;
padding:5px;
font-size: 1.2em;
text-align:center;
}
.mgPlugin tr {
vertical-align:top;
}
.mgPlugin td {
padding:5px 5px 5px 5px;
}
.mgPluginMeta {
font-size:0.85em;
background:transparent;
color:#000000;
}
.mgPluginItemFooter {
clear:both;
padding:3px;
text-align:center;
font-size:0.85em;
}
.mgPluginHeader, .mgPluginHeader td {
background:#2a2a2a;
color: #a5a464; !important;
font-weight:bolder;
padding-top:3px;
padding-bottom:3px;
}
.mgPluginFooter, .mgPluginFooter td {
background-color:#333333;
color:#FFFFFF;
padding: 5px 5px 5px 5px;
}
.mgPluginAlert {
padding:5px 15px 5px 15px;
color:#D8010E;
background-color:#FEF1B4;
font-weight:bold;
}
.mgPluginTinyText {
font-size:0.70em;
}
.mgPluginSmallText {
font-size:0.8em;
}
.mgPluginMediumText {
font-size:1em;
}
.mgPluginLargeText {
font-size:1.25em;
}
.mgPluginAltText {
color:#FFFFFF;
}
.mgPluginRow1, .mgPluginRow1 td {
color:#cc6600;
background-color:#191919;
line-height:120%;
}
.mgPluginRow2, .mgPluginRow2 td {
color:#cc6600;
background-color:#444444;
line-height: 120%;
}
.mgPluginRow1 .mgPluginRollOver,
.mgPluginRow2 .mgPluginRollOver,
.mgPluginRollOver {
color:#000000;
background-color:#FFFFFF;
line-height:120%;
}
.mgPluginRow1 .mgPluginRollOut,
.mgPluginRow2 .mgPluginRollOut,
.mgPluginRollOut {
color:#000000;
background-color:#F7F7F7;
line-height:120%;
}
.mgPluginBreadCrumbs,
.mgPluginBreadCrumbs A:link {
color:#CC6600;
background:#191919;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
.mgPluginBreadCrumbs A:visited {
color:#800800;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
.mgPluginBreadCrumbs A:hover {
color:#008000;
font-style:normal;
font-weight:normal;
text-decoration:none;
}
/*
* Standard styles for controlling image drop shadows
* and default Media Gallery borders.
*/
.out {
display:block;
background:#bbb;
border:1px solid #ddd;
position:relative;
margin:1em 0;
}
.in2 {
display:block;
background:#777;
border:1px solid #999;
position:relative;
padding:1px;
margin:1px;
}
.in {
text-align:center;
background:#fff;
border:1px solid #555;
position:relative;
padding:5px;
font-weight:normal;
}
.ltin {
left:-5px;
}
.tpin {
top:-5px;
}
.rtin {
left:5px;
}
/*
* Slimbox (lightbox) classes, do not change these
*/
#lbOverlay {
position: absolute;
left: 0;
width: 100%;
background-color: #000;
cursor: pointer;
}
#lbCenter, #lbBottomContainer {
position: absolute;
left: 50%;
overflow: hidden;
background-color: #fff;
}
.lbLoading {
background: #fff url(images/loading.gif) no-repeat center;
}
#lbImage {
border: 10px solid #fff;
background-repeat: no-repeat;
}
#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: 0;
width: 50%;
outline: none;
}
#lbPrevLink {
left: 0;
}
#lbPrevLink:hover {
background: transparent url(images/prevlabel.gif) no-repeat 0% 15%;
}
#lbNextLink {
right: 0;
}
#lbNextLink:hover {
background: transparent url(images/nextlabel.gif) no-repeat 100% 15%;
}
#lbBottom {
font-family: Verdana, Helvetica, sans-serif;
font-size: 10px;
color: #666;
line-height: 1.4em;
text-align: left;
border: 10px solid #fff;
border-top-style: none;
}
#lbCloseLink {
display: block;
float: right;
width: 66px;
height: 22px;
background: transparent url(images/closelabel.gif) no-repeat center;
margin: 5px 0;
}
#lbCaption, #lbNumber {
margin-right: 71px;
}
#lbCaption {
font-weight: bold;
}
Thanks!
Mark
10
8
Quote
All times are EST. The time is now 08:11 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content