Help with template

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
sharkbite
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 01, 2008 7:18 pm

Help with template

Post by sharkbite »

Hi,
I am getting stuck here and I'm sure it's not as complicated as I'm making it

http://leighdon.ca/index.php?page=artist-2

I just want to remove the navigation on the left so the photo gallery moves over to the left, can I adjust the template or do I have to create a new one?

Thanks!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Help with template

Post by Nullig »

You should use a different template, without the left sidebar.

Nullig
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Re: Help with template

Post by tophers »

This is more of a Layout/Design question, but I'll give you the quick answer - yes. In order to move to the left and remove the sidebar you need to do the following:

Duplicate your current template (use the 'Copy' icon in the Current Template view)
Remove - the entire thing.
Rename to something like
Write a style that removes the margin-left on this new div:
div#mainFull {
  margin-left: 0; /* this will remove the margin previously used for the sidebar */
  margin-right: 2%; /* and some air on the right */
}
sharkbite
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 01, 2008 7:18 pm

Re: Help with template

Post by sharkbite »

Hi,
OK, I am getting closer, why can I not figure out which style sheet to add the mainFull style to? Yes, it needs to have some margin on the left.

Can I remove the subnavigation as well?

Thanks.
sharkbite
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 01, 2008 7:18 pm

Re: Help with template

Post by sharkbite »

I guess I can't figure out which style sheet that template is using?
User avatar
tophers
Forum Members
Forum Members
Posts: 218
Joined: Thu Jun 07, 2007 7:25 pm

Re: Help with template

Post by tophers »

I'm not exactly sure what you're trying to accomplish. If you remove the left-hand navigation completely in order to use the full space for the portfolio pieces, you lose that functionality - there will be no way to choose the artist. Where do you plan to have this level of navigation?

As for which style sheet to add the new rule to, you'll have to figure that one out. Go to Layout > Templates > then on the template template you are using click o n the CSS icon to show which style sheets are attached to that template. Add you necessary code there.

If you write a more detailed description of what you are trying to accomplish I'll try to help out more.
sharkbite
Forum Members
Forum Members
Posts: 10
Joined: Mon Dec 01, 2008 7:18 pm

Re: Help with template

Post by sharkbite »

Hi, thanks,

Sorry, I guess I should have been more clear, I was hoping for a quick fix.

Originally there was supposed to be no sub navigation on this page, they would have to click the Artist tab on the menu to get back to the list of artists or I would put a text link that said "Back to artists"

But the way it is now with the sub navigation below the menu and above the artist name is not bad, the problem now is that there is no margin on the left side and the text butts up against the edge, I'm not sure if this is an issue with the style or the template.

http://leighdon.ca/index.php?page=artist-2

I think if I could fix that, that would be it.

Thanks again.
Post Reply

Return to “The Lounge”