forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: EndlessQuest on August 29, 2012, 10:27:13 pm

Title: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 29, 2012, 10:27:13 pm
Hi all,

I`m running Coppermine on my site, with the Theme Chaotic Soul (which I altered to fit my needs)

There is one thing I would like to change about this theme; the menu bar is on the right, I want it to be on te left.

If tried changing this in de style.css sheet by changing in the following code. If I do this, the menu goes to the left, but on the right side, I still see the lines on the left from where the sidebar used to be. Appearantly this is not the way to move the menu from right to left, so how should I do it?


Code: [Select]
#content, #sidebar {
border-left: 1px solid #363430;
border-right: 1px solid #363430;
padding: 0 10px;
}

#content { float: right; font-size: 1.1em; width: 617px; }
#content h2 { margin: 0 0 10px; }
#content p { line-height: 1.5em; }

#sidebar { border-left: 0; float: left; width: 200px; }
#sidebar h3 { color: #bd934f; margin: 15px 0 5px; font-variant: small-caps; font-size: 1.1em; }
#sidebar ul { margin: 0 0 10px; padding: 0; border-top: 1px solid #363430; border-bottom: 1px solid #363430; }
#sidebar li { display: block; padding: 4px 10px; font-family: Trebuchet MS, Tahoma, Verdana, Helvetica; font-size: 9px; text-transform: uppercase; background: #22201d; margin: 1px 0; }
#sidebar li:hover { background: #363430; }
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 29, 2012, 10:30:04 pm
Please post a link and attach your custom theme.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 29, 2012, 10:37:01 pm
Sorry, the link to the gallery is www.richards-fotos.nl (http://www.richards-fotos.nl)

When trying to attach my theme.php file, it says it`s not allowed? How can I do that?

Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 29, 2012, 10:40:26 pm
Didn`t check the faq`s. Changed the extension to .txt see attachment.  :-[
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 29, 2012, 10:42:59 pm
please attach the entire theme as a zip.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 29, 2012, 10:55:31 pm
Ah ok, Entire theme added as zip.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 29, 2012, 11:13:14 pm
try this.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 29, 2012, 11:15:34 pm
oops I moved it to the right as the one you uploaded showed it on the left for me. Which one of us is backwards here?
Did you only need that extra border line removed?
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 29, 2012, 11:41:16 pm
If my last post is the case just add background-size: 1160px 4px; to #wrapper
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 30, 2012, 05:37:35 pm
Hi Jeff, I just want the menu bar to be on the left and keep the rest of the layout exactly the way it is now.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 30, 2012, 05:41:34 pm
Then stick with your custom theme without my changes and then add what I said in my last post.
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on August 30, 2012, 07:00:33 pm
Thanks Jeff!!

Got it!
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on August 31, 2012, 12:29:20 am
If your issue is solved please mark your thread as solved.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on September 05, 2012, 10:43:59 am
I discovered that on Internet Explorer 8 the line is still there. In google chrome and Firefox it`s okay.

Is there something we can do to remove the lin in Explorer 8 as well?
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: Jeff Bailey on September 05, 2012, 08:50:19 pm
I don't have a copy of IE8 to test on but you can always just edit the image to the correct size instead of using css.
http://www.richards-fotos.nl/coppermine/themes/chaoticsoul/images/content_bkg.gif
Title: Re: Switch menubar from right to left in Chaotic Soul
Post by: EndlessQuest on September 05, 2012, 10:04:46 pm
Ah fantastic Jeff, now it`s solved! Thank you  :)