Fragen zum Layout
Fragen zum Layout
Hallo zusammen,
ich versuche gerade eine Homepage für eine Freundin zu bauen.
Irgendwie habe ich es geschafft, dass das Menü auch unter im "Footer" mit drin ist. Hat jemand ne Ahnung wie ich es da wieder rausbekomme?
Dann steht auch immer auf jeder Seite: "Next Page: abc" oder "Previous page: xyz" wie kann ich das denn wegbekommen?
Und ich habe auch unter meiner Menüleiste "You are here: abc: xyz" stehen. Das muss da auch weg.
Kann mir irgendwer helfen?
Danke schonmal
Gruß
Nini
ich versuche gerade eine Homepage für eine Freundin zu bauen.
Irgendwie habe ich es geschafft, dass das Menü auch unter im "Footer" mit drin ist. Hat jemand ne Ahnung wie ich es da wieder rausbekomme?
Dann steht auch immer auf jeder Seite: "Next Page: abc" oder "Previous page: xyz" wie kann ich das denn wegbekommen?
Und ich habe auch unter meiner Menüleiste "You are here: abc: xyz" stehen. Das muss da auch weg.
Kann mir irgendwer helfen?
Danke schonmal
Gruß
Nini
Re: Fragen zum Layout
Welches Template verwedest Du denn für Deine Seiten?
Schau mal im Backend unter "Inhalte->Seiten" was dort in der Spalte "Template" steht.
Da klickst Du einfach drauf und bekommst den HTML Code für Dein Layout angezeigt.
(Ist auch unter "Layout->Templates" zu finden)
Und da suchst Du dann einfach nach {menu ... } und nach dem anderen Text der da raus soll.
Grundlegende Kenntnisse in Sachen HTML vorrausgesetzt.
Schau mal im Backend unter "Inhalte->Seiten" was dort in der Spalte "Template" steht.
Da klickst Du einfach drauf und bekommst den HTML Code für Dein Layout angezeigt.
(Ist auch unter "Layout->Templates" zu finden)
Und da suchst Du dann einfach nach {menu ... } und nach dem anderen Text der da raus soll.
Grundlegende Kenntnisse in Sachen HTML vorrausgesetzt.
Re: Fragen zum Layout
Im Template nach {cms_selflink ...} jeweils mit den Textinhalten Next Page bzw. Previous Page suchen.Nini wrote: Dann steht auch immer auf jeder Seite: "Next Page: abc" oder "Previous page: xyz" wie kann ich das denn wegbekommen?
Im Template nach {breadcrumbs ...} suchen.Und ich habe auch unter meiner Menüleiste "You are here: abc: xyz" stehen. Das muss da auch weg.
Re: Fragen zum Layout
Ich benutze folgendes Theme: "ShadowMenu Tab + 2 columns"NaN wrote:
Welches Template verwedest Du denn für Deine Seiten?
Grundlegende Kenntnisse in Sachen HTML vorrausgesetzt.
Und klar Grundkenntnisse sind vorhanden. Wollte nur mal versuchen ne Seite in CMS zu machen, als ständig immer den Quellcode schreiben zu müssen.
vielen dank. jetzt bin ich schon ein großen Schritt weiter gekommen.cyberman wrote:Im Template nach {cms_selflink ...} jeweils mit den Textinhalten Next Page bzw. Previous Page suchen.Nini wrote: Dann steht auch immer auf jeder Seite: "Next Page: abc" oder "Previous page: xyz" wie kann ich das denn wegbekommen?
Im Template nach {breadcrumbs ...} suchen.Und ich habe auch unter meiner Menüleiste "You are here: abc: xyz" stehen. Das muss da auch weg.
Habt ihr auch ne Idee wie ich das Menü aus dem Footer (Fußzeile) wieder rausbekomme?? Irgendwie habe ich es geschafft es da nochmal reinzubekommen....
Re: Fragen zum Layout
Ähmm, hatte dir @NaN eigentlich schon verraten ...Nini wrote: Habt ihr auch ne Idee wie ich das Menü aus dem Footer (Fußzeile) wieder rausbekomme?? Irgendwie habe ich es geschafft es da nochmal reinzubekommen....
Hat das nicht geholfen?NaN wrote: Und da suchst Du dann einfach nach {menu ... } und nach dem anderen Text der da raus soll.
Re: Fragen zum Layout
cyberman wrote:Ähmm, hatte dir @NaN eigentlich schon verraten ...Nini wrote: Habt ihr auch ne Idee wie ich das Menü aus dem Footer (Fußzeile) wieder rausbekomme?? Irgendwie habe ich es geschafft es da nochmal reinzubekommen....
Hat das nicht geholfen?NaN wrote: Und da suchst Du dann einfach nach {menu ... } und nach dem anderen Text der da raus soll.
ahhh jetzt habe ich es. hatte zwar den Beitrag von NaN gelesen aber als ich deinen gelesen habe nur das ausprobiert... *vor den Kopf hau*
super jetzt geht es. danke
Re: Fragen zum Layout
Ich bräuchte nochmal eure Hilfe...
Ich benutze das Templete "ShadowMenu Tab + 2 columns"
und möchte gerne die Newsbox nach rechts verschoben haben. Ich hab es auch hinbekommen die Newsbox nach rechts zu verschieben, allerdings überlappt die Box jetzt mit dem Hauptteil.
Jetzt mein Problem: Wie bekomme ich den Hauptteil nach links verschoben, so dass die beiden Boxen wieder nebeneinander sind???
Hier mal ein Auszug aus dem Template. Ich denke das sollte im Basic Layout eingestellt werden.
/*****************basic layout *****************/
body {
margin: 0;
padding: 0;
/* default text color for entire site*/
color: #333;
/* you can set your own image and background color here */
background: #f4f4f4 url(uploads/ngrey/body.png) repeat-x left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the */
max-width: 99em;
min-width: 60em;
/* now that width is set this centers wrapper */
margin: 0 auto;
background-color: #fefefe;
color: black;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
height: 100px;
margin: 0;
padding: 0;
/* you can set your own image here, will go behind h1 a image */
background: #f4f4f4 url(uploads/ngrey/bg_banner.png) repeat-x left top;
/* border just the bottom */
border-bottom: 1px solid #D9E2E6;
}
div#header h1 a {
/* you can set your own image here */
background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
/* this will make the "a" link a solid shape */
display: block;
/* adjust according your image size */
height: 100px;
/* this hides the text */
text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
text-decoration: none;
}
div#header h1 {
margin: 0;
padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: right;
line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 35px 65px 0px 0px;
/* adjust according your text size */
color: #f4f4f4;
}
div.crbk {
/* sets all to 0 */
margin: 0;
padding: 0;
/* you can set your own image here */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
margin: 0px;
/* you can set your own image here */
background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}
div.breadcrumbs span.lastitem {
font-weight: bold;
}
div#search {
/* position for the search box */
float: right;
/* enough width for the search input box */
width: 27em;
text-align: right;
padding: 0.5em 0 0.2em 0;
margin: 0 1em;
}
/* a class for Submit button for the search input box */
input.search-button {
border: none;
height: 22px;
width: 53px;
margin-left: 5px;
padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
cursor: pointer;
/* you can set your own image here */
background: url(uploads/ngrey/search.gif) no-repeat center center;
}
div#content {
/* some air above and under menu and content */
margin: 1.5em auto 2em 0;
padding: 0px;
}
/* this gets all the outside calls that were used on the div#main before */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
margin-left: 29%;
/* and some air on the right */
margin-right: 2%;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
float: right;
width: 69%;
/* and we take this out or it will stop at the bottom */
margin-left: 0%;
/* and some air on the right */
margin-right: 10px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
div.back2 {
/* you can set your own image here */
background: url(uploads/ngrey/mainleft1.gif) no-repeat left top;
}
div.back3 {
/* you can set your own image here */
background: url(uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
padding: 10px 15px;
/* you can set your own image here */
background: url(uploads/ngrey/rtup.gif) no-repeat right bottom;
}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
width: 26%;
/* FIX IE double margin bug */
display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
margin: 0px 0px 20px;
padding: 0px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt.gif) no-repeat right top;
}
div#sidebarb {
padding: 10px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
margin: 2em 0 1em 0em;
}
div#sidebara {
padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.footback {
/* keep footer below content and menu */
clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
padding: 0px 10px 0px 0px;
/* you can set your own image here */
background: url(uploads/ngrey/wfootrt.gif) no-repeat right top;
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
padding: 0px 0px 0px 10px;
/* color of text, the link color is set below */
color: #595959;
/* you can set your own image here */
background: url(uploads/ngrey/wtopleft.gif) no-repeat left top;
}
div.leftfoot {
float: left;
width: 30%;
margin-left: 20px
}
div#footer p {
/* sets different font size from default */
font-size: 0.8em;
/* some air for footer */
padding: 1.5em;
/* centered text */
text-align: center;
margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
color: #595959;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
height: 1px;
padding: 1em;
border-bottom: 1px dotted black;
margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100% might lead to rounding error on some browser */
width: 70%;
}
div.right49 {
float: right;
width: 29%;
/* set right to keep text on right */
text-align: right;
}
Ich benutze das Templete "ShadowMenu Tab + 2 columns"
und möchte gerne die Newsbox nach rechts verschoben haben. Ich hab es auch hinbekommen die Newsbox nach rechts zu verschieben, allerdings überlappt die Box jetzt mit dem Hauptteil.
Jetzt mein Problem: Wie bekomme ich den Hauptteil nach links verschoben, so dass die beiden Boxen wieder nebeneinander sind???
Hier mal ein Auszug aus dem Template. Ich denke das sollte im Basic Layout eingestellt werden.
/*****************basic layout *****************/
body {
margin: 0;
padding: 0;
/* default text color for entire site*/
color: #333;
/* you can set your own image and background color here */
background: #f4f4f4 url(uploads/ngrey/body.png) repeat-x left top;
}
div#pagewrapper {
/* min max width, IE wont understand these, so we will use java script magic in the */
max-width: 99em;
min-width: 60em;
/* now that width is set this centers wrapper */
margin: 0 auto;
background-color: #fefefe;
color: black;
}
/* header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
/* adjust according your image size */
height: 100px;
margin: 0;
padding: 0;
/* you can set your own image here, will go behind h1 a image */
background: #f4f4f4 url(uploads/ngrey/bg_banner.png) repeat-x left top;
/* border just the bottom */
border-bottom: 1px solid #D9E2E6;
}
div#header h1 a {
/* you can set your own image here */
background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
/* this will make the "a" link a solid shape */
display: block;
/* adjust according your image size */
height: 100px;
/* this hides the text */
text-indent: -999em;
/* old firefox would have shown underline for the link, this explicitly hides it */
text-decoration: none;
}
div#header h1 {
margin: 0;
padding: 0;
/*these keep IE6 from pushing the header to more than the set size*/
line-height: 0;
font-size: 0;
/* this will keep IE6 from flickering on hover */
background: url(uploads/ngrey/logoCMS.png) no-repeat left top;
}
div#header h2 {
/* this is where the site name is */
float: right;
line-height: 1.2em;
/* this keeps IE6 from not showing the whole text */
font-size: 1.5em;
/* keeps the size uniform */
margin: 35px 65px 0px 0px;
/* adjust according your text size */
color: #f4f4f4;
}
div.crbk {
/* sets all to 0 */
margin: 0;
padding: 0;
/* you can set your own image here */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.breadcrumbs {
/* CSS short hand rule first value is top then right, bottom and left */
padding: 1em 0em 1em 1em;
/* its good to set font sizes to be relative, this way viewer can change his/her font size */
font-size: 90%;
/* css shorthand rule will be opened to be "0px 0px 0px 0px" */
margin: 0px;
/* you can set your own image here */
background: url(uploads/ngrey/mainleftup.gif) no-repeat left bottom;
}
div.breadcrumbs span.lastitem {
font-weight: bold;
}
div#search {
/* position for the search box */
float: right;
/* enough width for the search input box */
width: 27em;
text-align: right;
padding: 0.5em 0 0.2em 0;
margin: 0 1em;
}
/* a class for Submit button for the search input box */
input.search-button {
border: none;
height: 22px;
width: 53px;
margin-left: 5px;
padding: 0px 2px 2px 0px;
/* makes the hover cursor show, you can set your own cursor here */
cursor: pointer;
/* you can set your own image here */
background: url(uploads/ngrey/search.gif) no-repeat center center;
}
div#content {
/* some air above and under menu and content */
margin: 1.5em auto 2em 0;
padding: 0px;
}
/* this gets all the outside calls that were used on the div#main before */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
margin-left: 29%;
/* and some air on the right */
margin-right: 2%;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
float: right;
width: 69%;
/* and we take this out or it will stop at the bottom */
margin-left: 0%;
/* and some air on the right */
margin-right: 10px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
div.back2 {
/* you can set your own image here */
background: url(uploads/ngrey/mainleft1.gif) no-repeat left top;
}
div.back3 {
/* you can set your own image here */
background: url(uploads/ngrey/wbtmleft.gif) no-repeat left bottom;
}
div#main {
/* this is the last inside div so we set the space inside it to keep all content away from the edges of images/box */
padding: 10px 15px;
/* you can set your own image here */
background: url(uploads/ngrey/rtup.gif) no-repeat right bottom;
}
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
width: 26%;
/* FIX IE double margin bug */
display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
margin: 0px 0px 20px;
padding: 0px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt.gif) no-repeat right top;
}
div#sidebarb {
padding: 10px 15px 10px 20px;
/* this one is for sidebar with content and no menu */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div#sidebarb div#news {
/* less margin surrounding the news, sidebarb has enough */
margin: 2em 0 1em 0em;
}
div#sidebara {
padding: 10px 15px 15px 0px;
/* this one is for sidebar with menu and no content */
background: url(uploads/ngrey/mainrtup.gif) no-repeat right bottom;
}
div.footback {
/* keep footer below content and menu */
clear: both;
/* this sets 10px on right to let the right image show, the balance 10px left on next div */
padding: 0px 10px 0px 0px;
/* you can set your own image here */
background: url(uploads/ngrey/wfootrt.gif) no-repeat right top;
}
div#footer {
/* this sets 10px on left to balance 10px right on last div */
padding: 0px 0px 0px 10px;
/* color of text, the link color is set below */
color: #595959;
/* you can set your own image here */
background: url(uploads/ngrey/wtopleft.gif) no-repeat left top;
}
div.leftfoot {
float: left;
width: 30%;
margin-left: 20px
}
div#footer p {
/* sets different font size from default */
font-size: 0.8em;
/* some air for footer */
padding: 1.5em;
/* centered text */
text-align: center;
margin: 0;
}
div#footer p a {
/* footer link would be same color as default we want it same as footer text */
color: #595959;
}
/* as we hid all hr for accessibility we create new hr with div class="hr" element */
div.hr {
height: 1px;
padding: 1em;
border-bottom: 1px dotted black;
margin: 1em;
}
/* relational links under content */
div.left49 {
/* combined percentages of left+right equaling 100% might lead to rounding error on some browser */
width: 70%;
}
div.right49 {
float: right;
width: 29%;
/* set right to keep text on right */
text-align: right;
}
Re: Fragen zum Layout
ja ich habe nur in dem folgenden Teil float:left auf float:right geändert:NaN wrote:
Wie hast Du denn die News nach rechts verschoben?
Nur via CSS?
div#sidebar {
/* set sidebar left. Change to right, float: right; instead, but you will need to change the margins. */
float: left;
/* sidebar width, if you change this change div.back and/or div.back1 margins */
width: 26%;
/* FIX IE double margin bug */
display: inline;
/* the 20px is on the bottom, insures space above footer if longer than content */
margin: 0px 0px 20px;
padding: 0px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt.gif) no-repeat right top;
}
Re: Fragen zum Layout
Falls es nicht im CSS sein sollte, hier auch noch der Quellcode vom Template:
{process_pagedata}
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to it *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optimization *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{literal}
=b){nw=b+"px";}if(w
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Top menu + 2 columns" *}
{* The above JavaScript is required for CSSMenu to work in IE *}
{* start accessibility skip links, anything with the class of accessibility is hidden with CSS from visual browsers *}
{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
{* end accessibility skip links *}
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet "Layout: Top menu + 2 columns" *}
{* this holds the name of the site on the right side *}
{sitename}
{* a link back to home page and the header left image/logo, text is hidden using CSS *}
{cms_selflink dir="start" text="$sitename"}
{* End Header *}
{* Start Navigation, stylesheet "Navigation: ShadowMenu - Horizontal" *}
Navigation
{menu template='cssmenu_ulshadow.tpl'}
{* End Navigation *}
{* Start Breadcrumbs *}
{* holds the right image, we need 2 divs to be able to make this site fluid, if it was fixed width we could use one div, one image *}
{* End Breadcrumbs *}
{* Start Content *}
{* Start Sidebar *}
{content block='Sidebar'}
{* Start News, stylesheet "Module: News" *}
News
{news number='3' detailpage='news'}
{* End News *}
{* End Sidebar *}
{* Start Content Area, the back1, back2, back3, hold the 3 outside images, main holds the 4th one, to make the box complete, if the template were fixed width not fluid we could use just 2 divs and 2 images, 1 top 1 bottom *}
{print showbutton=true script=true}
{title}
{content}
{* to insure space below content *}
{* Start relational links *}
{* note this is the right side, when you float: divs you need to have float: right; divs first *}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
{* End Content Area *}
{* End Content *}
{* Start Footer. Edit the footer in the Global Content Block called "footer" *}
{* stylesheet "Navigation: FatFootMenu" *}
{global_content name='footer'}
{* End Footer *}
{* end pagewrapper *}
{process_pagedata}
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{stylesheet}
{* This is how all the stylesheets attached to this template are linked to it *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optimization *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{literal}
=b){nw=b+"px";}if(w
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Top menu + 2 columns" *}
{* The above JavaScript is required for CSSMenu to work in IE *}
{* start accessibility skip links, anything with the class of accessibility is hidden with CSS from visual browsers *}
{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
{* end accessibility skip links *}
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet "Layout: Top menu + 2 columns" *}
{* this holds the name of the site on the right side *}
{sitename}
{* a link back to home page and the header left image/logo, text is hidden using CSS *}
{cms_selflink dir="start" text="$sitename"}
{* End Header *}
{* Start Navigation, stylesheet "Navigation: ShadowMenu - Horizontal" *}
Navigation
{menu template='cssmenu_ulshadow.tpl'}
{* End Navigation *}
{* Start Breadcrumbs *}
{* holds the right image, we need 2 divs to be able to make this site fluid, if it was fixed width we could use one div, one image *}
{* End Breadcrumbs *}
{* Start Content *}
{* Start Sidebar *}
{content block='Sidebar'}
{* Start News, stylesheet "Module: News" *}
News
{news number='3' detailpage='news'}
{* End News *}
{* End Sidebar *}
{* Start Content Area, the back1, back2, back3, hold the 3 outside images, main holds the 4th one, to make the box complete, if the template were fixed width not fluid we could use just 2 divs and 2 images, 1 top 1 bottom *}
{print showbutton=true script=true}
{title}
{content}
{* to insure space below content *}
{* Start relational links *}
{* note this is the right side, when you float: divs you need to have float: right; divs first *}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}
{* End Content Area *}
{* End Content *}
{* Start Footer. Edit the footer in the Global Content Block called "footer" *}
{* stylesheet "Navigation: FatFootMenu" *}
{global_content name='footer'}
{* End Footer *}
{* end pagewrapper *}
Re: Fragen zum Layout
So wie ich das sehe musst Du im Stylesheet nur hier ein wenig mit den Maßen rumspielen (also den linken Außenabstand margin-left für das DIV mit der Klasse "back1" von 29% auf z.B. 2% verringern und float genau umgekehrt zur Sidebar von right auf left setzen):
/* this gets all the outside calls that were used on the div#main before */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
margin-left: 2%;
/* and some air on the right */
margin-right: 2%;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
float: left;
width: 69%;
/* and we take this out or it will stop at the bottom */
margin-left: 0%;
/* and some air on the right */
margin-right: 10px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this gets all the outside calls that were used on the div#main before */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
margin-left: 2%;
/* and some air on the right */
margin-right: 2%;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
float: left;
width: 69%;
/* and we take this out or it will stop at the bottom */
margin-left: 0%;
/* and some air on the right */
margin-right: 10px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
Re: Fragen zum Layout
NaN wrote:
So wie ich das sehe musst Du im Stylesheet nur hier ein wenig mit den Maßen rumspielen (also den linken Außenabstand margin-left für das DIV mit der Klasse "back1" von 29% auf z.B. 2% verringern und float genau umgekehrt zur Sidebar von right auf left setzen):
/* this gets all the outside calls that were used on the div#main before */
div.back1 {
/* this will give room for sidebar to be on the left side, make sure this number is bigger than sidebar width */
margin-left: 2%;
/* and some air on the right */
margin-right: 2%;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
/* this is an IE6 hack, you may see these through out the CSS */
* html div.back1 {
/* unlike other browser IE6 needs float:right and a width */
float: left;
width: 69%;
/* and we take this out or it will stop at the bottom */
margin-left: 0%;
/* and some air on the right */
margin-right: 10px;
/* you can set your own image here */
background: url(uploads/ngrey/mainrt1.gif) no-repeat right top;
}
Hey cool. Danke dir

Ich hatte immer nur einen Parameter geändert und geguckt ob sie was ändert. wenn nicht habe ich das rückgängig gemacht und den nächsten verändert....