HTML (Some code)

Spread the love

HTML Some code for WordPress

 

50/50 table:

<table border=”0″ width=”100%”>
<tr>
<td width=”50%” valign=”top”>eesti</td>
<td width=”50%” valign=”top”>inglise</td>
</tr>
</table>

result:

eesti inglise

100; 50/50;100 table:

<table border=”0″ width=”100%”>
<tr>
<td width=”100%” colspan=”2″>tekst</td>
</tr>
<tr>
<td width=”50%” valign=”top”>tekst</td>
<td width=”50%” valign=”top”>tekst</td>
</tr>
<tr>
<td width=”100%” colspan=”2″>tekst</td>
</tr>
</table>

result:

tekst
tekst tekst
tekst

 

Themes > Customize > Additional CSS

To set website background (fixed)

.site-content{
background-image:
url(PICTURE LINK HERE);
background-attachment: fixed;
}

 

Menu items transparent background color

.menu{
background-color:transparent
!important;
}

 

Menu background image

.navigation-top{
background-image:
url(PICTURE LINK HERE)
!important;
background-repeat:
no-repeat;
background-attachment:
fixed;
}

 

Site footer background image

footer {
background: url(PICTURE LINK HERE);
}

 

Remove ‘Proudly Powered by WordPress’

.siteinfo {
display : none;
}
Remove gap between site content and footer
#content {
margin-bottom: -44px;
}

 

Change the value -44 if needed!

Spread the love