Header modifying

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"
Locked
petri

Header modifying

Post by petri »

Hello.

I don't understand how can I modify the default templates header size for more higher that I could use my own logo.
What file should I modify?

Also one more question.
What file should I modify to replace the texts: You are here: ;  Next page ; Top
petri

Re: Header modifying

Post by petri »

Could you please answer to this question.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Header modifying

Post by Dr.CSS »

Which Ver. of CMSMS?
The header size is in the Layout CSS.
The words are in the template, You are here is in the Breadcrumb... {breadcrumbs starttext='You are here'
The Next and Top Previous are in the self_link...
       


{anchor anchor='main' text='^ Top'}

       
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
       
       
petri

Re: Header modifying

Post by petri »

mark wrote: Which Ver. of CMSMS?
The header size is in the Layout CSS.
The words are in the template, You are here is in the Breadcrumb... {breadcrumbs starttext='You are here'
The Next and Top Previous are in the self_link...
         


{anchor anchor='main' text='^ Top'}

         
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
         
         
I have the version 0.13.

I still can't find the layout css file.
Also I don't have an idea about that breadcrumbs..
It would be nice if you could give me "dummy instructions" how to modify those files.

Maybe I am stupid, but I am just learning to understand this.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Header modifying

Post by tsw »

Dee
Power Poster
Power Poster
Posts: 1197
Joined: Sun Mar 19, 2006 8:46 pm

Re: Header modifying

Post by Dee »

petri wrote: I still can't find the layout css file.
In CMSMS templates and stylesheets are kept in the database, not in files.
You can access/edit them through the admin panel (Layout in the menu).
petri wrote: Also I don't have an idea about that breadcrumbs..
It would be nice if you could give me "dummy instructions" how to modify those files.
In the templates the breadcrumbs tag is called like this:

Code: Select all

   <!-- Start Breadcrumbs -->
   <div class="breadcrumbs">
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
   <hr />
   </div>
   <!-- End Breadcrumbs -->
You can change the starttext and delimiter there (see Extensions -> Tags and the help for a particular tag to see the possible options).

The relational links are called in the templates like this:

Code: Select all

	 <!-- Start relational links -->
 	{cms_selflink anchorlink='main' dir='anchor' text='^ Top'} ...
        {cms_selflink dir="previous"} ...
        {cms_selflink dir="next"} ...
	 <!-- End relational links -->
Here you can change the text for top. Add a label parameter to next and previous to change their text.

Code: Select all

{cms_selflink dir="previous" label='The text you want'}
Checkout the help on cms_selflink for other possible parameters.
Last edited by Anonymous on Tue Sep 12, 2006 9:29 am, edited 1 time in total.
Locked

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