toshudhiman
I want to knw. How to use custum CCS option.
Cuz when i put some code there they say invalid.
Like use the below code.
color: #ffffff; background-image: url(
http://wfs01.wapka.mobi/3161/3161342_97df1f5f41.png ); border-width: 1px; border-color: #555555; border-style: solid; margin-bottom: 1px; margin-right: 0px; padding-bottom: 5px; padding-left: 1px; padding-top: 4px; font-weight: bold; font-style: italic;
rakibbd
toshudhiman Place this code on your css stylesheet file (extension with .css)
.header {color: #ffffff; background-image:url(http://wfs01.wapka.mobi/3161/3161342_97df1f5f41.png); border-width: 1px; border-color: #555555; border-style: solid; margin-bottom: 1px; margin-right: 0px; padding-bottom: 5px; padding-left: 1px; padding-top: 4px;
font-weight: bold;
font-style: italic;}
Copy code
now if u place <div class="header">Welcome To My Site</div> it will work..!
rakibbd
toshudhiman Remember it may need some time to work.. Simply refresh your page for a while..
TechnoSparks
toshudhiman Make sure you know how to code CSS. Syntaxes are vital for your CSS to work.
If you want to use your classes directly by using the building tools classes dropdown, you can open your
global_stylesheet.css file and then enter your desired code anywhere you like.
.myBlock
{
color: #ffffff;
background-image: url("http://wfs01.wapka.mobi/3161/3161342_97df1f5f41.png");
border-width: 1px;
border-color: #555555;
border-style: solid;
margin-bottom: 1px;
margin-right: 0px;
padding-bottom: 5px;
padding-left: 1px;
padding-top: 4px;
font-weight: bold;
font-style: italic;
}
Copy code
I've fixed your background property, you need quotes or apostrophes when entering URL!
If you are going to use the code block, or the code editor, make sure you entered the
class attribute. Example
<div class="myBlock">SOmething</div>
Copy code
toshudhiman
rakibbd You guys nt understanding.
I want to make a class see screen shot. I dnt knw how to make it.
Its open like 1st click create >CSS >then +> then Add property > then custom CSS. . .
Tell me how to use that Custom CSS.
Graham
toshudhiman Oh your on about the building tool css editor "custom css" is used to define any css property not covered by the other options the property name goes in the first input and the value goes in the second
but you still need to know which css property you wish to define and what value you want to give it
The building tool css editor is for css that is exclusive to that page
It creates <style>...</style> tags and css data in the pages <head> area
You define classes which you select for an item in the main building tool you cannot define global classes for html tags with it
to define a class give it a name (ignore pseudo class for now that is for advanced use and the various states of a link)
then add values to any of the preset properties or define a property / value pair in the custom css
toshudhiman
Graham Can u give me a example of .
How to use custom css. Step by step btana.
Graham
toshudhiman The css property is any of the ones listed here
http://www.w3schools.com/cssref/
Each of which has many possible values
toshudhiman
Graham Ye to meko b pta h. Bt i dont know how to put these in custom css .
Aap niche diye gaye code ko custom CSS m daalkr btao. Jo work b kare.
color: #ffffff; background-image: url(
http://wfs01.wapka.mobi/3161/3161342_97df1f5f41.png ); border-width: 1px; border-color: #555555; border-style: solid; margin-bottom: 1px; margin-right: 0px; padding-bottom: 5px; padding-left: 1px; padding-top: 4px; font-weight: bold; font-style: italic;
thanks in advance.
Idk k isme se what to put in Property and what to put in value.
Graham
toshudhiman None of these go in custom css they are all covered by the normal options
text - text color enter ffffff
background - background image enter
http://wfs01.wapka.mobi/3161/3161342_97df1f5f41.png
border - border width enter 1px
and so on
then if this is the page class
select it from the drop down in the page options