|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Need little help on css for header |
![]()
Need little help on css for header
|
Hi Ucoz team i need help from you people to make some changes on header referring to this [url=http://http://forum.ucoz.com/forum/38-15044-1] thread. I was trying to put homepage header with banner to file catalog main page and other inner-page header style would remain same as default. But not able to change css properly. Request you to help me to resolve this
Design # 1132. $IMAGE1$ Added (2017-02-19, 1:13 PM) Added (2017-02-19, 1:16 PM) Post edited by Øwãís - Sunday, 2017-02-19, 1:12 PM
|
If you wanna show banner on all site pages, main as well as inner pages:
Go to CSS page and change the class: Code .inner-page .header { background-image: none; min-height: inherit; } 1 2 to Code .inner-pageX .header { background-image: none; min-height: inherit; } 1 2 and replace Code .inner-page .header-descr { display: none; } 1 to Code .inner-pageX .header-descr { display: none; } 1 Else go to requested HTML page and replace a line Code <body class="base inner-page"> to Code <body class="base inner-pageX"> <?if(you_have)?> a <head>and<?if(you_have)?> a <body> you have to have
<div id="idea" class="extreme" > to be inventive </div><?endif?><?endif?> Post edited by SanTLee - Sunday, 2017-02-19, 5:33 PM
|
Øwãís, add this code to the end of the "Bottom part of the website" template:
Code <?if($MODULE_ID$='blog')?><style type="text/css">body {background-image: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='news')?><style type="text/css">body {background-image: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='stuff')?><style type="text/css">body {background-image: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='board')?><style type="text/css">body {background-image: url('YOUR IMAGE');}</style><?endif?> ..... 1 2 3 4 hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
To change header banner, replace the body to class ".header", to look like this,,,
Code <?if($MODULE_ID$='blog')?><style type="text/css">.header {background: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='news')?><style type="text/css">.header {background: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='stuff')?><style type="text/css">.header {background: url('YOUR IMAGE');}</style><?endif?> <?if($MODULE_ID$='board')?><style type="text/css">.header {background: url('YOUR IMAGE');}</style><?endif?> ........ 1 2 3 <?if(you_have)?> a <head>and<?if(you_have)?> a <body> you have to have
<div id="idea" class="extreme" > to be inventive </div><?endif?><?endif?> |
| |||
| |||
Need help? Contact our support team via
the contact form
or email us at support@ucoz.com.