Sectionheader CSS call troubles :(

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
JI29
New Member
New Member
Posts: 3
Joined: Tue Mar 01, 2011 3:42 pm

Sectionheader CSS call troubles :(

Post by JI29 »

hello everyone,

Kinda new to CMSMS, installed fine etc etc,

i have gone to convert a site from static HTML/CSS to integrate CMSMS, so far no hitches etc one, started the menu system on the left hand side of the page, a total of 13 links and 3 text headings.

i integrated the pages into it no problem so i create one and new a new one appears underneath or in alphabetical order in the list.

I understand i have to use sectionheaders to categorise the pages under the three headings, Can anyone give me some advice please?
http://www.kpwcdt.co.uk/

as you can see, i have tried creating a sectionheader inside the page list, but having problems setting it up?

Also please dont judge my coding, only started 3 days ago :)

many thanks
Joe ;D

CMSMS ver 1.8.1 - PHP & MySql is unknown, minimum versions as i am with 1&1 web host.. the worst!! :o
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Sectionheader CSS call troubles :(

Post by Dr.CSS »

Not sure what it should look like but you need to clean up the code then you can try styling the li.sectioheader as if it was an a link...

This needs > on the end...

<div class="header"

No such thing...

<padding - "300" px>
JI29
New Member
New Member
Posts: 3
Joined: Tue Mar 01, 2011 3:42 pm

Re: Sectionheader CSS call troubles :(

Post by JI29 »

Hi,

the <div class="header" should have > on the end but when i do, it causes the flash movie to stop working, think i might use SWFobject instead of the AC_flashcontent script.

I will clean up the code and then style the li.sectionheader.

what i was aiming for was 3 categories, and the pages to appear under each one but i wanted control over which ones go where.

They appear multiple times as i'm calling 3 different menu's which i shouldn't but it was proof of concept and now i have removed <padding = "300"px> which isnt needed.

Thanks for your help
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Sectionheader CSS call troubles :(

Post by Dr.CSS »

For flash or whatever I use the object tag which is very nice, it says stale but is still working, no updates as it doesn't need any, your still missing the > on the end and I don't see the flash anyways...

http://dev.cmsmadesimple.org/projects/objecttag

Put it in your plugins folder then you can go to extensions > tags and click the name of it to see Help on how to use it and parameters to use with it...
JI29
New Member
New Member
Posts: 3
Joined: Tue Mar 01, 2011 3:42 pm

Re: Sectionheader CSS call troubles :(

Post by JI29 »

Hi,

Wow that was a lot simpler than i thought,

{object src='uploads/movie.swf' height='300' width='300' class='flashplayer'}

thank you :)

Now to clean up my coding ;D
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Sectionheader CSS call troubles :(

Post by Dr.CSS »

You don't 'have to' use sectionheaders for sections, I have used internal links to point to the first child page under a section...

If you don't want a content type page you can make section page, make first child page, go back to section page and turn it into an internal link pointing the the first child page...
Post Reply

Return to “Layout and Design (CSS & HTML)”