There were many tutorials for this, but they weren't much a help for me.
When I scroll the page down, the content should go under the ´header´, not on top of it.
The footer works as it should.
http://jsfiddle.net/D4c4n/
body {
font-family:helvetica;
margin: auto;
min-height: 100%;
width: 100%;
background-image:url('nainen.jpg');
background-repeat: none;
}
.main {
min-height: 100%;
height:100%;
}
#background {
height: 100%;
width: 100%;
}
.ca-menu li:hover{
background:#fff;
}
.ca-menu li:hover .ca-icon{
color: #afa379;
font-size: 40px;
opacity: 0.1;
animation: moveFromLeft 400ms ease;
}
.ca-menu li:hover .ca-main{
color: #afa379;
animation: moveFromRight 300ms ease;
}
.ca-menu li:hover .ca-sub{
color: #000;
animation: moveFromBottom 500ms ease;
}
#keyframes moveFromLeft{
from {
transform: translateX(-100%);
}
to {
transform: translateX(0%);
}
}
.fl {
top:150px;
width: 100%;
transition: all;
position: absolute;
}
.slidepart {
width:100%;
height:390px;
overflow:hidden;
position:relative;
border:#lightgray solid 2px;
box-shadow:gray 2px 5px 5px;
}
.slidepart img {
position:absolute;
width:100%;
height:450px;
border: black solid 1px;
}
.sl_paginationpart {
display:block;
background:#BFFF8D9;
width:100%;
height:1px;
position:absolute;
right:0px;
bottom:0px;
padding:6px;
border: solid 1px #FFE97D;
transition:all 0.5s ease
}
.sl_paginationpart:hover {
height:17px;
opacity: 0.8;
background:#908967;
}
ul.slpagination {
margin:0px;
padding:0px;
list-style:none;
font-family:helvetica;
right: 0px;
}
ul.slpagination:hover {
margin:0px;
padding:0px;
list-style:none;
font-family:helvetica;
}
ul.slpagination li {
margin:0px;
padding:0px;
list-style:none;
float:left;
height:100%
}
ul.slpagination li a {
text-decoration:none;
}
ul.slpagination li a.prev {
width:14px;
height:15px;
display:block;
margin-top: 2px;
}
ul.slpagination li a.next {
width:14px;
height:15px;
display:block;
margin-top: 2px;
}
ul.slpagination li a.number {
background:#FFE97D;
width:25px;
height:4px;
display:block;
text-align:center;
margin:0px 3px;
font-size:0px;
font-weight:bold;
color:#A3916D;
text-decoration:italic;
font-family: helvetica;
border-radius:3px 3px 3px 3px;
transition: all 0.5s ease;
}
ul.slpagination li a.number:hover {
background:#FFF8D9;
color:gray;
height:18px;
font-size:12px;
}
ul.slpagination li a.select {
background:#B78B59;
color:white;
text-decoration:none;
text-decoration:italic;
font-size:0px;
}
.sl_paginationpart:hover li a.select {
height: 18px;
font-size: 14px;
}
.sl_paginationpart:hover li a.number {
height: 18px;
}
#logo {
opacity: 1;
}
.kielet {
top:0px;
width:100%;
background-color: #333333;
padding:0px;
height: 35px;
color: white;
}
.kielet nav {
text-align: left;
height: 35px;
}
.kielet a {
display: inline;
left: 0px;
}
.icon {
width: 50px;
height: 101%;
right: 0px;
float: right;
margin:0 10px;
margin-top:0px;
margin-bottom:0px;
padding: 0px;
}
.submit {
-moz-box-shadow:inset 0px 1px 0px 0px #dcecfb;
-webkit-box-shadow:inset 0px 1px 0px 0px #dcecfb;
box-shadow:inset 0px 1px 0px 0px #dcecfb;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #71f78c), color-stop(1, #5dde56) );
background:-moz-linear-gradient( center top, #71f78c 5%, #5dde56 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#71f78c', endColorstr='#5dde56');
background-color:#71f78c;
-webkit-border-top-left-radius:0px;
-moz-border-radius-topleft:0px;
border-top-left-radius:0px;
-webkit-border-top-right-radius:0px;
-moz-border-radius-topright:0px;
border-top-right-radius:0px;
-webkit-border-bottom-right-radius:0px;
-moz-border-radius-bottomright:0px;
border-bottom-right-radius:0px;
-webkit-border-bottom-left-radius:0px;
-moz-border-radius-bottomleft:0px;
border-bottom-left-radius:0px;
text-indent:0px;
border:1px solid #93e084;
display:inline-block;
color:#ffffff;
font-family:Trebuchet MS;
font-size:16px;
font-weight:normal;
font-style:normal;
height:30px;
line-height:30px;
width:60px;
text-decoration:none;
right: 40%;
text-align:center;
text-shadow:1px 1px 0px #528ecc;
}
.submit:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5dde56), color-stop(1, #71f78c) );
background:-moz-linear-gradient( center top, #5dde56 5%, #71f78c 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5dde56', endColorstr='#71f78c');
background-color:#5dde56;
}
.submit:active {
position:relative;
top:1px;
}
.tiedot {
right: 100px;
top: 150px;
height: 250px;
position:absolute;
width: 250px;
border: dotted 1px;
text-align: center;
}
.lomake {
right: 35%;
top: 150px;
position:absolute;
}
.parent {
font-family: Verdana;
height: 30px;
font-size: 20px;
transition: background 0.5s ease;
}
.parent:hover {
background: #C2C3C4;
}
.parent a {
color: black;
text-decoration: none;
cursor: pointer;
}
.show ul
{
/*animation for show*/
transition:max-height 1s;
-webkit-transition:max-height 1s;
max-height: 100%;
}
.navigointi
{
width: 533px;
height: 35px;
top: 0px;
position: absolute;
background-color: #333333;
}
.navigointi ul
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
.navigointi a
{
float:left;
width:6em;
top: 0px;
text-decoration:none;
color:white;
background: FFE97D;
padding:0.2em 0.6em;
border-right:1px solid white;
height:29px;
transition: all 0.5s ease;
}
.navigointi a:hover
{
color: #B0B0B0;
}
.navigointi li
{
display:inline;
}
#selected {
background-color:white;
color: #645406;
cursor: default;
}
form {
right: 50%;
}
.wrapper{
min-height: 100%;
height:100%;
margin: 0 0 -60px;
}
.push{
height:60px;
}
footer
{
background-color:#333333;
position:fixed;
height:20px;
bottom: 0px;
margin-bottom: 0px;
width:100%;
text-align: right;
}
header
{
top:0px;
width:100%;
background-color: #333333;
padding:0px;
height: 35px;
color: white;
position: fixed;
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<script src="jquery-1.4.2.min.js"></script>
<link rel="shortcut icon" href="clade.png" />
<link rel="stylesheet" type="text/css" media="screen" href="style_v2.css" />
<title>Artotek</title>
<LINK REL="SHORTCUT ICON"
HREF="favicon.ico">
<body>
<div class="wrapper">
<!-- KIELET -->
<header>
<div class="navigointi">
<ul>
<li><a id="selected" onclick="return false" href="#">Etusivu</a></li>
<li>Tietoa meistä</li>
<li>Yhteystiedot</li>
</ul>
</div>
</header>
<div id="footer" style="bottom:0px; right:0px; width:100px; font-size:8px;">
</div>
<div class="main">
<div id="teksti" style="position:absolute; font-family:century gothic; width:100%; top: 40px; font-size: 20px; height:130px; margin-top:0px; text-align:center; ">
<br>
<h3>ARTOTEK</h3>
<hr>
<p>Olemme startup innovatiivisten tuotteiden kehitysyritys<br>
Kysyttävää? Ota yhteyttä!</p>
</div>
<div style="margin-top: 800px;">
<a name="section2">Section 2</a>
<p>blablalblalalalalalal</p>
<p>lddlwdlldwldldwdlwdl</p>
</div>
</div>
</div>
</div>
<!--Twitter
<div class="twitter" style="width:50px; top:0px; margin-top:0px;">
<a class="twitter-timeline" href="https://twitter.com/ArtotekTmi" data-widget-id="381408956653899776">#ArtotekTmi Twitter</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<img style="position:absolute; bottom:0px; right:0px;"src="nainen.gif"></img>-->
</div>
<div class="push"></div>
<footer>©Claudio Lintunen</footer>
</body>
</html>
You can change the z-index for this:
header
{
z-index: 1;
}
This way the header will go on top of the other elements which have a lower z-index (z-index is 0 by default).
jsFiddle
put z-index to header part
.navigointi
{
width: 533px;
height: 35px;
top: 0px;
position: absolute;
background-color: #333333;
z-index:99999;
}
jsfiddle:http://jsfiddle.net/D4c4n/3/
If you add z-index: 1; to your header rule it will work just fine.
header
{
top:0px;
width:100%;
background-color: #333333;
padding:0px;
height: 35px;
color: white;
position: fixed;
z-index: 1;
}
If z-index: 1 does'nt work try increase the z-index till it does.
Related
I noticed a strange problem on Latest Chrome Version 58.0.3000.4 dev (64-bit) My website is broken on Latest chrome DEV (Version 58.0.3000.4)[on MacOS] if you have latest chrome please check this URL http://openspeedtest.com/Get-widget.php
As you can see the buttons and animation Not rendering as expected. But working as expected on all other browser.
.example {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-transition: all .5s;
transition: all .5s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background: -webkit-linear-gradient(top, white, black);
background: linear-gradient(to bottom, white, black);
}#ostui{
background-color: white;
height: 700px;
width: 730px;
}
#min_speed, #max_speed {
display:block;
width:auto;
margin-top:auto;
position:absolute;
top:208px;
z-index:4;
color:#35393c;
font-weight:700
}
#min_speed {
float:left;
left:63px
}
#max_speed {
right:63px;
float:right
}
#speedometer {
width:719px;
height:268px;
overflow:hidden;
margin-bottom: 5px;
margin-top: 60px;
background-color: #E5E6E7;
display:none;
}
#speedometer #inside_central {
top:18px;
left:3px;
position:relative;
width:257px;
height:257px;
margin-left:auto;
margin-right:auto;
text-align:center;
}
#speedometer #surface_plate {
border-bottom-style: solid !important;
border-bottom-width: 10px !important;
border-color: #FFFFFF;
position:relative;
top:-257px;
z-index:2;
margin-left:auto;
margin-right:auto
}
#inside_central #direction_sign {
margin-left:auto;
margin-right:auto;
position:relative;
top:50px;
left:0;
width:40px;
height:43px;
z-index:3;
overflow:hidden
}
#one_ink_visible {
position:absolute;
width:257px;
height:257px;
overflow:hidden;
top:7px;
-webkit-transform:rotate(74deg);
-moz-transform:rotate(74deg);
-o-transform:rotate(74deg);
-ms-transform:rotate(74deg)
}
#speedometer #inside_left, #speedometer #inside_right {
position:relative;
top:80px;
width:200px;
height:222px;
text-align:center
}
#speedometer #inside_left {
left:25px;
float:left
}
#speedometer #inside_right {
left:0;
float:right;
margin-right:20px
}
.side_ink {
background:url('http://get.openspeedtest.com/images/side-blue-ink.png');
position:absolute;
top:-43px;
left:0;
width:200px;
height:222px;
z-index:1
}
#inside_right .side_ink {
display:none
}
#inside_left .side_ink {
display:none
}
img#ink_segments {
left:0;
z-index:1;
position:relative
}
#direction_sign {
display:none
}
#direction_sign img {
left:0;
top:-43px;
position:relative;
z-index:3
}
.digital_speed {
font-family: 'Open Sans', Arial, sans-serif;
font-size:45px;
font-weight:400;
z-index:3;
position:relative
}
#digital_speed_current {
top:105px;
text-align:center;
width:100%;
position:absolute
}
#digital_speed_down, #digital_speed_up {
top:45px;
position:absolute;
width:100%;
text-align:center
}
.speed_caption {
font-family: 'Arial', sans-serif;
font-size:13px;
z-index:3;
position:relative
}
#speed_caption_current {
top:159px;
display:none;
position:absolute;
text-align:center;
width:100%;
font-weight:700
}
#speed_caption_down, #speed_caption_up {
position:absolute;
top:99px;
width:100%;
text-align:center;
display:none;
font-weight:700
}
/************************/
#speedometer_container{
display:block;
}
#speedometer_controller{
width: 719px;
height:100px;
overflow:hidden;
display:block;
}
#progress_bar {
margin-left:auto;
margin-right:auto;
position:relative;
width:606px;
height:73px;
background:url('http://get.openspeedtest.com/images/horizontal-progress-bar.png') no-repeat top center;
display:none;
z-index:4
}
#progress_text, #ping_result {
font-weight:700;
left:170px;
top:35px;
position:relative;
font-size:12px;
height:20px;
text-align:left;
display:inline;
margin-right:20px
}
#progress_bar_indicator {
font-weight:700;
top:16px;
left:521px;
background:#198bd9;
width:14px;
height:14px;
border-radius:50%;
position:absolute
}
#start_button_wrapper {
margin-left:auto;
margin-right: 20px;
height:auto;
left:8px;
text-align:center;
display:none;
position:relative;
z-index:4;
}
input.formatted_button {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #ffffff;
padding: 8px 20px;
background: -webkit-gradient(
linear, left top, left bottom,
from(#28adf0),
to(#117acf));
background: -o-linear-gradient(top, #28adf0, #117acf);
border-radius: 3px;
border: 1px solid #4887c7;
box-shadow:
1px 1px 0px rgba(000,000,000,0.2),
inset 0px 1px 1px rgba(255,255,255,0.2);
text-shadow:
0px 1px 1px rgba(000,000,000,0.3),
0px 1px 0px rgba(255,255,255,0.3);
margin-bottom:10px;
outline:none;
}
input.formatted_button:hover {
border-top-color: #1090e6;
}
input.formatted_button:active {
top:2px;
position:relative;
border-top-color: #1090e6;
background: #117acf;
}
input.formatted_button_bw {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #303030;
padding: 7px 20px;
background: -webkit-gradient(
linear, left top, left bottom,
from(#f7f7f9),
to(#e0e4e8));
background: -o-linear-gradient(top, #f7f7f9, #e0e4e8);
border-radius: 4px;
border: 1px solid #b8b8b8;
box-shadow:
0px 1px 0px rgba(000,000,000,0.5),
inset 0px 0px 1px rgba(255,255,255,0.3);
text-shadow:
0px 1px 1px rgba(255,255,255,1);
}
input.formatted_button_bw:hover {
border-top-color: #e0e4e8;
background: #e0e4e8;
}
input.formatted_button_bw:active {
top:2px;
position:relative;
border-top-color: #e0e4e8;
background: #e0e4e8;
}
#ip_container {
font-family: 'PT Sans',sans-serif;
font-size: 18px;
font-weight: 700;
margin-top: 10px;
}
#ip_address {
font-weight: 300;
}
#chart_container{
width:490px;
height:60px;
margin-left:auto;
margin-right:auto;
overflow:hidden;
margin-top:-17px;
top:17px;
left:-10px;
position:relative;
}
.spinner {
width: 120px;
height: 120px;
margin: 100px auto;
background-color: #44A8FC;
border-radius: 100%;
-webkit-animation: scaleout .5s infinite ease-in-out;
animation: scaleout .5s infinite ease-in-out;
}
#-webkit-keyframes scaleout {
0% { -webkit-transform: scale(0.0) }
100% {
-webkit-transform: scale(1.0);
opacity: 0;
}
}
#keyframes scaleout {
0% {
transform: scale(0.0);
-webkit-transform: scale(0.0);
} 100% {
transform: scale(1.0);
-webkit-transform: scale(1.0);
opacity: 0;
}
}
That was a bug on Latest chrome Dev. I reported the same https://bugs.chromium.org/p/chromium/issues/detail?id=689369
I'm building this website as part of college project, I have built my navigation drop downs but there is a kind of over flow on the left of the list items that I can't seem to get rid of. I have tried playing around with the widths and overflow but I just can't seem to get rid of it without messing up the functionality of my dropdown, any help would be greatly appreciated.
wont let me post an image but here is a link: http://postimg.org/image/q4uo0sjfp/
This is the CSS
#charset "UTF-8";
html {background:none;}
table{
width:100%;
}
table, th, td {
height:auto;
width:auto;
padding: none;
align: center;
}
.cf:before,
.cf:after {
content:"";
display:table;
}
.cf:after {
clear:both;
}
.cf {
zoom:1;
}
body {
font: 100% Arial, Helvetica, sans-serif;
line-height: 1.4;
width: 100%;
padding-bottom: 0;
background: 8BA0BB;
}
.wrapper{
min-height:100%;
height:100%;
height:auto;
width:auto;
}
h1, h2, h3 {
font-weight: normal;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
color: #174D92;
}
h2 {
font-size: 4.4em;
font:100% Arial, Helvetica, sans-serif;
color:#174D92;
font-weight: bold;
}
header{
position:fixed;
width:100%;
height:206px;
max-width:100%;
max-height:100%;
float:left;
top:0;
left:0;
background:#ffffff;
z-index:999;
}
header img{
height:auto;
width:auto;
max-width:100%;
max-height:100%;
float:left;
}
nav {
height: 3.1em;
width:100%;
background:#174D92;
text-align:center;
position:fixed;
top:200px;
z-index:999;
}
div {
background:#7FB7FF;
margin: 2px;
border: 1px solid #174D92;
Border-radius:25px;
Padding: 2px 2px 2px 2px;
}
.insurers a img{
border: 1px solid #174D92;}
.insurers a:hover img{
border: 3px solid #174D92;
opacity:0.4;
}
div.textsmall{font-size: 85%}
ul, li {
float:left;
padding:none;
margin: 0;
list-style:none;
width: 20%;
height: auto;
text-align:center;
font-weight: bold;
}
ul {
background: #7FB7FF;
width:97.6%;
height:2.9em;
text-align: center;
vertical-align:central;
margin-top:.1em;
}
li {
position:relative;
}
li a {
display:block;
width: auto;
padding:none;
line-height:2.9em;
text-decoration:none;
color: #174D92;
}
li a:hover, .topmenu > li:hover > a{
background:#174D92;
color: #7FB7FF;
border-left: 1px solid black;
border-right: 1px solid black;
}
ul.topmenu{text-align:center;
}
ul.submenu {
background:#7FB7FF;
width: 100%;
height: auto;
float:none;
position:absolute;
top:2.9em;
left:10000em;
max-height: 0;
transition:max-height 1s ease-in-out;
-webkit-transition: max-height 1s ease-in-out;
-moz-transition: max-height 1s ease-in-out;
-o-transition: max-height 1s ease-in-out;
overflow:hidden;
z-index:999;
}
ul.submenu li {
padding: none;
float: none;
color: #174D92;
width: 100%;
height: auto;
z-index:999;
}
ul.topmenu li:hover ul{
Left:-40px;
max-height: 30em;
width: 100%;
}
ul.submenu li a {
border-bottom: 1px solid #8D8F92;
border-right: 0;
line-height:3em;
padding: none;
white-space: nowrap;
}
ul.submenu li a:hover {
background:#174D92;
color:#7FB7FF;
border-bottom: 1px solid #FFFFFF;
}
ul.submenu li:last-child a {
border-bottom: none;
}
ul.submenu li:first-child a {
padding: none;
}
.fadein { position:relative; width: auto; height: 545px; margin-top: 1em;}
.fadein img { position:absolute; left:0; top:0; border-radius:25px; border: 4px solid #174D92;}
iframe{
margin: 2px;
border: 1px solid #174D92;
}
.divtext{
width:60%;
text-align:center;
}
.aligncent{
align-content:center;
text-align:center;
}
.blank{
background:none;
border:none;
}
HTML
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<link href="index.css" rel="stylesheet" type="text/css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<title>Physio Central Dublin</title>
</head>
<div class="wrapper blank" style="height:auto; width:100%">
<header><img src="headerimg.png"></header>
</div>
<body>
<nav class="cf">
<ul class="topmenu">
<li>Home</li>
<li>Treatments
<ul class="submenu">
<li>Physiotherapy</li>
<li>Acupuncture</li>
<li>Sports Injury</li>
<li>Osteopathy</li>
<li>Exercise Therapy</li>
<li>Massage Therapy</li>
<li>Orthotics</li>
<li>Dry Needling</li>
</ul>
</li>
<li>Pricing
<ul class="submenu">
<li>Pricing for sessions</li>
<li>Are you covered</li>
</ul>
</li>
<li>About Us
<ul class="submenu">
<li>About Physio Central</li>
<li>Opening Times</li>
<li>Location</li>
<li>Our People</li>
<li>Contact Us</li>
<li>Testimonies</li>
</ul>
</li>
<li>FAQ
<ul class="submenu">
<li>FAQ</li>
</ul>
</li>
</ul>
</nav>
you just need to tell the ul to have zero padding.
ul.submenu {
background:#7FB7FF;
width: 100%;
height: auto;
max-height: 0;
transition:max-height 1s ease-in-out;
-webkit-transition: max-height 1s ease-in-out;
-moz-transition: max-height 1s ease-in-out;
-o-transition: max-height 1s ease-in-out;
overflow:hidden;
z-index:999;
padding: 0px;
}
If you remove the absolute positioning as well then it will drop directly below your menu item, which I assume is what you was after as well.
This is code i tried:
*
{
box-sizing:border-box;
}
div,body,html,h1,nav,article,footer,header{display:block;}
body
{
margin:0;
padding:0;
font-family:Arial;
font-size:14px;
background-color:#fff;
}
#wrapper
{
margin-left: auto;
margin-right: auto;
}
.title p
{
text-align:center;
color:darkgray;
}
img
{
vertical-align:middle;
margin:0;
}
#slideshow {
position: relative;
overflow: hidden;
height: 100px;
}
#fixme
{
height : 65px;
position: relative;
overflow : hidden;
}
#animate-area
{
height: 122%;
width: 2538px;
position: absolute;
left: 0;
top: -15px;
background-image: url('http://s30.postimg.org/qnju89rkx/banner.png');
background-repeat: repeat-x;
-ms-animation: animatedBackground 40s linear infinite;
-moz-animation: animatedBackground 40s linear infinite;
-webkit-animation: animatedBackground 30s linear infinite;
}
/* Put your css in here */
#keyframes animatedBackground {
from { left: 0; }
to { left: -1269px; }
}
#-webkit-keyframes animatedBackground {
from { left: 0; }
to { left: -1269px; }
}
#-moz-keyframes animatedBackground {
from { left: 0; }
to { left: -1269px; }
}
#logo img
{
position:absolute;
z-index:999;
vertical-align:middle;
margin-top: -22px;
}
h1
{
text-align:center;
text-align: center;
font-size: 35px;
font-weight: 100;
margin-top:25px;
margin-bottom: inherit;
}
.header-pgf
{
width: 67%;
font-size: 15px;
font-family: verdana;
margin: auto;
margin-top:15px;
}
.title
{
margin-right:auto;
margin-left:auto;
width:960px;
}
.nav
{
background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#000));
background: linear-gradient(0deg, red, yellow);
height:45px;
margin-top: -15px;
}
.nav ul
{
text-align:center;
}
.nav ul li
{
display:inline-block;
text-align:center;
}
.nav > ul li:first-child a
{
background-color:Red;
}
.nav > ul li:first-child a:hover
{
text-decoration:underline;
}
.nav li:hover a
{
background-color: red;
}
.nav li a
{
color: #000;
display: block;
padding: 14px 25px;
text-decoration: none;
}
.slides,
.flex-control-nav,
.flex-direction-nav
{
margin: 0;
padding: 0;
list-style: none;
}
.flexslider .slides img
{
width: 960px;
margin-left:auto;
margin-right:auto;
display: block;
}
.flex-pauseplay span
{
text-transform: capitalize;
}
.flexslider .slides > li
{
display: none;
-webkit-backface-visibility: hidden;
}
.slides:after
{
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
html[xmlns] .slides
{
display: block;
}
* html .slides
{
height: 1%;
}
.flexslider
{
border: 4px solid #fff;
position: relative;
box-shadow: 0 1px 4px rgba(0,0,0,.2);
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2);
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
zoom: 1;
margin-top: 20px;
}
.flex-viewport
{
max-height: 2000px;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
transition: all 1s ease;
}
.loading .flex-viewport
{
max-height: 200px;
}
.flexslider .slides
{
zoom: 1;
}
.flexslider .slides
{
border-right:10px;
}
.flex-direction-nav
{
*height: 0;
width:400px !important;
}
.flex-direction-nav a
{
width: 60px;
height: 60px;
display: block;
no-repeat 0 0;
position: absolute;
top: 50%;
z-index: 10;
cursor: pointer;
text-indent: -9999px;
opacity: 1;
-webkit-transition: all .3s ease;
}
.flex-direction-nav .flex-disabled
{
filter:alpha(opacity=20);
cursor: default;
}
.flex-control-nav
{
width: 100%;
bottom: -40px;
text-align: center;
float:left;
margin-top:-200px;
}
.flex-control-nav
{
width: 100%;
position: absolute;
bottom: -40px;
text-align: center;
font-weight:bold;
color:darkgray;
cursor:pointer;
}
.flex-control-nav li
{
margin: 0 6px;
display: inline-block;
zoom: 2;
}
.flex-control-nav li:hover
{
color:#000;
}
.flex-control-nav .flex-active
{
cursor: default;
color:#000;
opacity: .7;
}
.column-layout
{
padding-top: 73px;
display: table;
margin: 0 auto;
max-width: 1300px;
}
section
{
padding: 0px 40px;
}
.column-layout p
{
color: darkgray;
}
.column-layout h3, .column-layout img
{
margin-left: 40px;
}
#media (min-width: 992px){
.column-count-1, .column-count-2, .column-count-3, .column-count-4 {
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
position: relative;
}
}
.column-count-1, .column-count-2, .column-count-3, .column-count-4 {
width: 25%;
float: left;
line-height: 1.5em;
letter-spacing: 0.4pt;
}
.featured
{
background-color: darkgray;
color:#fff;
padding:10px;
display: flex;
width: 960px;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}
.featured-pgf
{
float:left;
clear:both;
}
input[type=text] {
border-radius:0px;
padding: 14px 18px 14px 18px;
margin-left: 151px;
margin-top: 8px;
width: 260px;
}
form
{
float:right;
margin:0;
}
.footer-link
{
background-color: darkgray;
line-height: 9pt;
padding: 20px 0px;
margin-top: 55px;
padding-left: 47px;}
.footer-link a:first-child
{
border-left: 0px;
}
.footer-link
{
text-align:center;
}
.footer-link a
{
color: #fff;
border-left: 1px solid #fff;
font-size: 9pt;
line-height: 9pt;
display: inline-block;
text-decoration: none;
padding: 0px 0px 0px 10px;
}
.footer-link a:hover
{
color:#fff;
text-decoration:underline;
}
#footer
{
width:960px;
margin-left:auto;
margin-right:auto;
}
.copyright
{
margin-left: 33px;
font-size: 11px;
color: darkgray;
float:left;
}
#footer img
{
vertical-align:middle;
float:right;
margin: 4px;
}
This is JSfiddle:
http://jsfiddle.net/6deqxyk4/
When resize the window, it will shows like this: http://s27.postimg.org/5p20dklg3/Untitled_1_copy.png
May i know how to align the page when resizing the window, I need to display centring all the content of page.
Mostly i tried, but somewhat missing, please help with my errors.
Any help would be appreciated. Thanks in advance.
Something like this
.wrapper{
width:900px;
margin-left:auto;
margin-right:auto;
}
#header{
width:100%;
// give it orange background here
}
#footer{
width:100%;
// give it background here
}
<div id="header">
<div class="wrapper">
// navigation bar here
</div>
</div>
<div class="wrapper">
// page content here
</div>
<div id="footer">
<div class="wrapper">
// navigation bar here
</div>
</div>
In your html file add a div like http://jsfiddle.net/6deqxyk4/3/
<div id="page">
begin this at the beginning of your content and close it at the end of all content
Then add this to your css
#page{
width:980px;
margin:auto;
}
this will solve it
Recently, I made a blog on blogger but I found a problem with the Css stylesheet.
when I put this Css stylesheet inside b:skin tag:
#import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400);
#import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:700);
a img {border: none;}
a, a:visited{ color:#1E6FE0; text-decoration:underline; }
a:hover{ color:#FC7F01; text-decoration:underline; }
/****** header area *******/
.header_container {background:transparent !important;}
.header_nav { float:left; list-style-type:none; width:744px; height:31px; margin:36px 0 0 0; padding:0; background-image:url('http://www.example.com/short_navbar.png'); background-repeat:no-repeat !important;}
.header_nav div { margin:0 5px 0 5px; }
.header_nav li { float:left; }
.header_nav a { display:block; color:white; text-decoration:none; font-size:12px; line-height:30px; padding:0 7px 0 7px; font-weight:bold; text-shadow:0 2px 2px rgba(0, 0, 0, 0.3); font-family:Arial,Verdana,Helvetica,sans-serif;}
.header_nav_seleced, .header_nav a:hover { background-image:url('http://www.example.com/ttr-sprites.png'); background-repeat:repeat-x !important; padding-bottom:11px; background-position:0 -25px; }
.header_nav li { position:relative; }
.header_nav li ul { display:none; position:absolute; top:30px; left:0; padding:0; }
.header_nav li ul li { list-style:none; }
.header_nav li ul a { display:block; text-decoration:none; width:78px; background:#b95806; border-bottom:1px solid black; }
.header_nav li ul a:hover { display:block; text-decoration:none; background:#e8b866; background-image:none; min-width:56px; padding:0 7px 0 7px; }
.header_nav li:hover ul { display:block; }
.header_search_form { top:3px; left:-270px; }
.header_search_form_js { position:absolute; left: -272px; display:none; }
.header_search_form .search_bar { background-image:none; background-color:#fff; border: 1px solid #333; color:#333; font-size:12px; width: 308px; height:17px; padding:4px; -moz-border-radius: 3px; border-radius: 3px; }
.header_search_form #q { margin:0; }
.header_mousetrack { color:white; font-size:11px; font-weight:bold; margin:7px 0 11px 14px; float:left; }
.header_mousetrack a, .header_mousetrack a:visited { color:white; }
.new_portal_footer a, .new_portal_footer:visited, .new_portal_footer a:hover
.header_mousetrack a:hover { color:white; text-decoration:none; }
.header_top_ad { margin:0 0 0 0; }
.header_logo { float:left; margin:0 0 0 5px; _margin:0 0 0 0; }
.top_container {background: transparent !important; width: 988px !important; }
.header_nav_bar {display:inline;}
.ad5_container { background-image:url('http://www.example.com/black_border-2.png'); background-repeat:no-repeat !important; padding: 15px 0 0 15px; margin: 0 0 -30px -15px; height:330px; width:330px; _height:300px; _width:300px; _background:none;}
/* New header 2013 */
.hdr_top_left { width: 254px; padding-top: 18px; float: left; text-align: left; }
.hdr_nav_bar { position: relative; }
.hdr_nav_selected, .hdr_nav a:hover { background: #338CD8; }
.hdr_mag_outer { display: inline-block; margin-top: 4px; }
.hdr_search_form { position: absolute; top: 60px; right: 10px; display: none; .margin-top: -55px; }
.hdr_search_bar { border-radius: 8px; float: left; height: 24px; margin-top: 5px; width: 320px; background: transparent url(http://www.example.com/ttr_new_search_2.jpg) no-repeat scroll 0 0; }
.hdr_search_bar input { border: none; margin: 3px 5px 0; width: 305px; }
.hdr_search_bar input:focus { outline-width: 0; }
.hdr_top_ad { margin-top: 20px; }
.hdr_nav_outer { display: table; border: 0; margin: 18px 0 0 12px; min-width: 718px; background-color: #282828; float: left; }
.hdr_nav { display: table-row; overflow: hidden; margin: 0; padding: 0; min-width: 718px; list-style-type: none; }
.hdr_nav li.hdr_search_box { line-height: 1; vertical-align: top; }
.hdr_nav .hdr_search_box a { padding-top: 9px; padding-bottom: 16px; }
.hdr_nav li:hover { background: #338CD8; }
.hdr_nav li { line-height: 42px; display: table-cell; border: 0; margin: 0; padding: 0; vertical-align: middle; text-align: center; .float: left; }
.hdr_nav li, .hdr_nav2 li a { padding-bottom: 0; }
.hdr_nav li a, .hdr_nav li2 a:visited { padding: 0 7px; white-space: nowrap; color: white; display: inline-block; font-weight: normal; text-decoration: none; font-family: 'Roboto Condensed', arial, helvetica, sans-serif; font-size: 15px; text-shadow: none; .padding: 0 10px; }
.hdr_nav .hdr_search_box img { display: inline-block; width: 15px; height: 15px; margin-top: 4px; background: transparent url(http://www.example.com/mag-glass-dark.gif) no-repeat scroll center 0; }
.sprite{ width:170px;height:56px; background:url(http://www.example.com/ttr-sprites.png);}
.checkmark{width:17px;height:12px;background-position:0 0; margin-left:auto;margin-right:auto;}
.star_full_blue{ width:13px;height:14px; background-position:-18px 0px; float:left;}
.star_half_blue{ width:13px;height:14px; background-position:-31px 0px; float:left;}
.star_empty_blue{ width:13px;height:14px; background-position:-45px 0px; float:left;}
.star_full_gold{ width:13px;height:14px; background-position:-60px 0px; float:left;}
.star_half_gold{ width:13px;height:14px; background-position:-74px 0px; float:left;}
.star_empty_gold{ width:13px;height:14px; background-position:-87px 0px; float:left;}
.magnify_glass{ width:16px;height:18px; background-position:-101px 0px;}
.mailing_list_submit_button{width:60px;height:25px;background-position:-117px 0px;}
.tan_bar{width:32px;height:32px; background-position:-114px 32px;}
.right_ad_scroller {width: 300px; margin: 10px;}
/****** footer area *******/
.footer{ width:917px; float:left; padding:30px 30px 30px 30px; background-color:#000; color:#ccc; margin:0 0 0 2px; overflow:hidden;}
.footer a.footer-links{ text-align:left; display:block; float:left; width:160px; color:#ccc; text-decoration:none; line-height:30px; font-weight:100; border-top-style:solid; border-top-color:#474747; border-top-width:thin; }
.footer a.footer-links:hover{ color:#fff; }
.footer-headers{ font-size:20px; display:block; float:left; color:#fff; text-decoration:none; line-height:50px; font-weight:lighter; letter-spacing:0.05em; }
.footer-lcolumn{ font-size:14px; letter-spacing:0px; width:160px; margin:0 30px 0 0; float:left; }
.footer-rcolumn{ font-size:14px; letter-spacing:0px; width:300px; float:right; }
.footer-bar{ display:block; width:300px; .width:303px; margin:0 0 20px 0; float:right; font-size:12px; }
.footer .newsletter-input{ display:block; font-size:16px; color:#999; width:212px; height:28px; line-height:18px; float:left; padding:0 5px 0 5px; margin:0 2px 0 0; border:none; }
.footer a.footer-button:hover{ opacity:0.9; }
.footer-button:hover{ opacity:0.9; }
footer { clear:both; text-align: center; }
.new_portal_footer ul {
list-style-type: none;
margin-bottom: 10px;
margin-top: 10px;
padding-left: 0px;
font-size: 8px;
}
.new_portal_footer {
background-color: white;
color: white;
font-size: 10px;
}
.popcontentrow {
width: 100%;
clear: both;
float: left;
background-color: #FFFFFF;
}
#popcontent {
position: absolute;
border: 0px;
display: none;
background-color: #FFFFFF;
z-index: 501;
}
.new_portal_footer img { margin-top:0 !important; }
.site-tools { margin:35px auto 40px; padding:10px 0; width:68%; text-align:center; border-top:2px solid #ccc; border-bottom:2px solid #ccc; clear:both; }
.site-tools a { margin:0 15px; padding:0; position:relative; width:80px; height:75px; overflow: hidden; display: inline-block; opacity:1; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; }
.site-tools a:hover { opacity:.6; }
.site-tools img { position: relative; }
.site-tools img.newsletter { }
.site-tools img.staff-index { top:-72px; }
.site-tools img.mobile { top:-152px; }
.site-tools img.contact-us { top:-222px; }
.site-index { color:#fff; background:#000; .display:block !important; }
.footer-wrap { margin:0 auto; padding:70px 0; width:974px; text-align: left; background:#000; }
.footer-toggle { clear: both; background:#fff; text-align: center; border-bottom:1px solid #000; line-height:20px; }
.footer-toggle span { padding:8px 39px 4px 34px; background:#000 url('http://www.example.com/sprite-footer-icons.gif') no-repeat -190px 13px; font-size:1.6em; cursor:pointer; }
.links { margin:0 15px 0 15px; float:left; width:165px; }
.links li { font-size:1.6em; line-height:36px; border-top:1px solid #333; }
.links li a:hover { text-decoration: underline; }
.links li.title, .nl-signup .title { margin-bottom:20px; position:relative; border-top:none; height:28px; width:188px; overflow: hidden; line-height:48px; }
.nl-signup .title { width:224px; }
li.title img, img.join { position:relative; }
li.title img.company { top:0; }
li.title img.network { top :-42px; }
li.title img.footer-categories { top: -82px; }
li.title img.follow-us { top: -122px;}
.title img.join { top: -166px; }
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.footer-tools { margin:10px 0 0 70px; float:left; width:318px; }
.footer-tools .links { margin:0 0 60px; width:318px; }
.footer-tools .links li { border-top:none; float:left; }
.footer-tools .links li.title { float:none; }
.footer-tools li a.rss, .footer-tools li a.fbook, .footer-tools li a.gplus, .footer-tools li a.twitter, .footer-tools li a.youtube { margin-right:20px; width:43px; height:40px; position:relative; overflow:hidden; float:left; }
.footer-tools li a.youtube { margin-right:none; }
.footer-tools li a img { position: relative; top:-207px; opacity:1; -webkit-transition: opacity 0.3s ease-in-out; -moz-transition: opacity 0.3s ease-in-out; -o-transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out; }
.footer-tools li a:hover img { opacity: .6; }
.footer-tools a.rss img { left:0; }
.footer-tools a.fbook img { left:-65px; }
.footer-tools a.gplus img { left:-135px; }
.footer-tools a.twitter img { left:-197px; }
.footer-tools a.youtube img { left:-264px; }
/******** body area **********/
body { background-image: url('http://www.example.com/black-to-gray-bg.png'); background-position: left top; background-repeat: repeat-x; background-color: #737573 !important; margin: 0;}
.main_page_left, .main_page_right {display:none;}
.main_page_left {background-color:transparent; background-image:none !important;}
.main_page_right {background-color:transparent; background-image:none !important;}
.portal_body {width: 1000px; margin: auto; font-family: Arial, Verdana, Helvetica, sans-serif;}
/*.sponsored_ads {display:none;}*/
.t1_nav_bar { background-image: url('http://www.example.com/matrix-header.gif') !important; background-position: 8px top; background-repeat: no-repeat; background-color: transparent; height: 48px; color: white; text-shadow: rgba(0, 0, 0, 0.3) 0 2px 2px; padding: 0 10px !important; width: 981px; }
.bottom_next_page_cont { width: 953px !important; margin-left: 9px; display: inline; }
.middle_page_inner_container { width: 953px !important; margin-left: 9px; display: inline; background-color: white; }
td.t1_left_cell_10 { width: 152px !important; }
.rank_row_last_col { }
.new_review_header { width: 937px !important; }
.ttr_top_left { width:240px; padding-left: 0px !important; padding-right: 0px !important;}
#contents { position:absolute; width:auto; top:600px; left:200px; }
/* right nav */
#ad_4 { float:none; text-align:center; padding:0; margin:0; }
#ad_5 { padding:0; margin:0; border:none; }
.top_ten_products { width:300px; min-height:85px; overflow:hidden; border:1px solid #CCC; }
.top_ten_products_header { background-image:url('http://www.example.com/top_ten_grad.png'); width:300px; height:37px; border-bottom:1px solid #CCC; }
.top_ten_products_header_title { float:left; font-size:18px; margin:6px 0 0 9px; }
.top_ten_products_header_all { float:right; margin:11px 14px 0 0; }
.top_ten_products_body { width:300px; max-height:212px; overflow:auto; }
.top_ten_products_row { float:left; border-bottom:1px solid #CCC; width:275px; padding:2px 0 2px 0;}
.top_ten_products_img { float:left; width:43px; height:36px; margin:0 5px 0 5px; text-align:center; }
.top_ten_products_img img { max-width:43px; max-height:34px; margin:1px 0 1px 0; }
.top_ten_products_rank { float:left; font-size:13px; margin: 12px 5px 0 0; }
.top_ten_products_name { float:left; font-size:12px; margin:13px 0 0 3px; width:200px;}
my blogger page becomes messy. but when I leave the b:skin empty and call the css stylesheet using an external url:
<link rel="stylesheet" type="text/css" href="http://www.example.com/stylesheet.css" media="all" />
The page is organized and works elegantly on Chrome .. messy a bit on firefox.
Please, tell me what wrong with the css code that I use.
I am using the nivoSlider on a page.
I adapted a Theme to my needs, but i would now like to have the Prev and Next buttons next to the image (Prev on the left side, and Next on the right site), instead of on top of the image.
You can see the test page here:
http://dccf.site88.net/test/dccf.php
here is the html:
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<img src="_imgs/photos/fashion3.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/fashion4.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/fashion7.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/fashion9.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/GardenWork1.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/GardenWork2.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/GardenWork3.jpg" alt="Doncare Care Child Foundation" />
<img src="_imgs/photos/GardenWork4.jpg" alt="Doncare Care Child Foundation" />
</div><!-- enf of #slider -->
</div><!-- end of .sliderWrapper -->
and the CSS (from the base template):
.nivoSlider {
position:relative;
width:600px;
height:auto;
overflow: hidden;
margin:auto;
margin-top:1em;
}
.nivoSlider img {
position:absolute;
top:0px;
max-width: 600px;
max-height:420px;
}
.nivo-main-image {
display: block !important;
position: relative !important;
width: 600px !important;
height:420px !important;
margin:auto;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
position:absolute;
top:0px;
width:100%;
height:100%;
border:0;
padding:0;
margin:auto;
z-index:6;
display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
display:block;
position:absolute;
z-index:5;
height:100%;
top:0;
margin:auto;
}
.nivo-box {
display:block;
position:absolute;
z-index:5;
overflow:hidden;
margin:auto;
}
.nivo-box img {
display:block;
margin:auto;
}
/* Caption styles */
.nivo-caption {
position:absolute;
left:0px;
bottom:0px;
background:#000;
color:#fff;
width:100%;
z-index:8;
padding: 5px 10px;
opacity: 0.8;
overflow: hidden;
display: none;
-moz-opacity: 0.8;
filter:alpha(opacity=8);
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.nivo-caption p {
padding:5px;
margin:0;
}
.nivo-caption a {
display:inline !important;
}
.nivo-html-caption {
display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
position:fixed;
top:50%;
z-index:9;
cursor:pointer;
}
.nivo-prevNav {
left:0px;
}
.nivo-nextNav {
right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
text-align:center;
padding: 15px 0;
}
.nivo-controlNav a {
cursor:pointer;
}
.nivo-controlNav a.active {
font-weight:bold;
}
and the Theme CSS:
.theme-default .nivoSlider {
position:relative;
background:#fff url(loading.gif) no-repeat 50% 50%;
margin-bottom:10px;
-webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
-moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
box-shadow: 0px 1px 5px 0px #4a4a4a;
}
.theme-default .nivoSlider img {
position:absolute;
display:none;
margin:auto;
}
.theme-default .nivoSlider a {
border:0;
display:block;
margin:auto;
}
.theme-default .nivo-controlNav {
text-align: center;
padding:0;
}
.theme-default .nivo-controlNav a {
display:inline-block;
width:10px;
height:10px;
background:url(bullets.png) no-repeat;
text-indent:-9999px;
border:0;
margin: 0 2px;
margin-bottom:1em;
}
.theme-default .nivo-controlNav a.active {
background-position:0 -10px;
}
.theme-default .nivo-directionNav a {
display:block;
width:30px;
height:30px;
background:url(arrows6.png) no-repeat 0px 0;
text-indent:-9999px;
border:0;
opacity: 1;
/* -webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
-o-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}*/}
.theme-default a.nivo-nextNav {
position:absolute;
background-position:-30px 0;
right:2px;
z-index:9999;
}
.theme-default a.nivo-nextNav:hover {
background:url(arrows6.png) no-repeat -30px -30px;
right:2px;
}.theme-default a.nivo-nextNav:active {
background:url(arrows6.png) no-repeat -30px -60px;
right:2px;
}
.theme-default a.nivo-prevNav {
position:absolute;
left:2px;
}
.theme-default a.nivo-prevNav:hover {
background:url(arrows6.png) no-repeat 0px -30px;
left:2px;
}
.theme-default a.nivo-prevNav:active {
background:url(arrows6.png) no-repeat 0px -60px;
left:2px;
}
.theme-default .nivo-caption {
font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
color:#fff;
border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
color:#fff;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled {
width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
width: auto;
height: auto;
background: none;
margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
display: block;
width: 120px;
height: auto;
}
Thank you for your time and help!
.nivoSlider - in this class you have to remove overflow:hidden, and then you have to change the left and right of your buttons:
.nivoSlider{
overflow:hidden; (remove it)
}
And then:
.theme-default a.nivo-prevNav{
left: -35px; (about)
}
.theme-default a.nivo-prevNav:hover{
left: -35px; (about)
}
.theme-default a.nivo-nextNav{
right: -35px; (about)
}
.theme-default a.nivo-nextNav:hover{
right: -35px; (about)
}