CSS/PHP: WordPress Template bearbeiten - Margin:0

FrazeColder

Lt. Commander
Registriert
Okt. 2013
Beiträge
1.718
Moin zusammen,

ich habe eine Webseite, auf der ich gerne oben den weißen Abstand entfernen würde. Sprich so, dass Navigationsbar und der folgende Content direkt aneinander kleben, ohne Abstand. Leider bekomme ich mit dem Inspektor nicht raus, um welche Klasse das ist... Könnt ihr mir da weiter helfen?

Den Header habe ich z.B. schon mit CSS und folgendem Befehl entfernen können:
Code:
.home #header > .container { display:none; }

Und folgende CSS Klasse entfernt den weißen Abstand leider nicht...:
Code:
.home #main { margin-top: 0px; }

Der weiße Abstand: (Grün makiert)
Unbenannt.PNG

Die dazugehörige div:
Code:
<div id="main" class="">
<div class="container">
<div class="row">
<div class="col-sm-9">
<div id="content">
<link href="https://fonts.googleapis.com/css?family=Squada+One:400|Raleway:900%2C400|Roboto:500|Roboto+Condensed:400|Open+Sans:300" rel="stylesheet" property="stylesheet" type="text/css" media="all">
<div class="forcefullwidth_wrapper_tp_banner" id="rev_slider_14_1_forcefullwidth" style="position:relative;width:100%;height:auto;margin-top:0px;margin-bottom:0px"><div id="rev_slider_14_1_wrapper" class="rev_slider_wrapper fullscreen-container" data-alias="ffgh" data-source="gallery" style="background-color: transparent; padding: 0px; height: 770px; margin-top: 0px; margin-bottom: 0px; position: absolute; max-height: none; overflow: visible; width: 1025px; left: -43px;">
 
<div id="rev_slider_14_1" class="rev_slider fullscreenbanner revslider-initialised tp-simpleresponsive" style="max-height: none; margin-top: 0px; margin-bottom: 0px; height: 100%;" data-version="5.3.1.5" data-slideactive="rs-36">
<ul class="tp-revslider-mainul" style="visibility: visible; display: block; overflow: hidden; width: 100%; height: 100%; max-height: none;">  
<li data-index="rs-36" data-transition="fade" data-slotamount="default" data-hideafterloop="0" data-hideslideonmobile="off" data-easein="default" data-easeout="default" data-masterspeed="300" data-rotate="0" data-saveperformance="off" data-title="Slide" data-param1="" data-param2="" data-param3="" data-param4="" data-param5="" data-param6="" data-param7="" data-param8="" data-param9="" data-param10="" data-description="" class="tp-revslider-slidesli active-revslide" style="width: 100%; height: 100%; overflow: hidden; z-index: 20; visibility: inherit; opacity: 1; background-color: rgba(255, 255, 255, 0);">
 
<div class="slotholder" style="position: absolute; top: 0px; left: 0px; z-index: 0; width: 100%; height: 100%; visibility: inherit; opacity: 1; transform: matrix(1, 0, 0, 1, 0, 0);"><!--Runtime Modification - Img tag is Still Available for SEO Goals in Source - <img src="xxx" alt="" title="xxx" width="3840" height="2560" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat" class="rev-slidebg defaultimg" data-no-retina="">--><div class="tp-bgimg defaultimg " style="background-color: rgba(0, 0, 0, 0); background-repeat: no-repeat; background-image: url(&quotxxx;); background-size: cover; background-position: center center; width: 100%; height: 100%; opacity: 1; visibility: inherit; z-index: 20;" src="xxx"></div></div>
 
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 0px; top: 93px; z-index: 5;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption   tp-resizeme" href="xxx" target="_self" id="slide-36-layer-1" data-x="1" data-y="82" data-width="['589']" data-height="['220']" data-type="text" data-actions="" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:1500,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:left;skX:45px;&quot;,&quot;to&quot;:&quot;o:1;rZ:342;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 5; min-width: 487px; max-width: 487px; white-space: nowrap; font-size: 66px; line-height: 157px; font-weight: 400; color: rgb(255, 255, 255); font-family: &quot;Squada One&quot;; text-decoration: underline; visibility: inherit; transition: none; text-align: inherit; border-width: 0px; margin: 0px; padding: 0px; letter-spacing: 0px; min-height: 182px; max-height: 182px; opacity: 1; transform: matrix3d(0.951057, -0.309017, 0, 0, 0.309017, 0.951057, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">xxx </a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 111px; top: 424px; z-index: 6;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><div class="tp-caption FatRounded   tp-resizeme rs-hover-ready" id="slide-36-layer-2" data-x="135" data-y="482" data-width="['497']" data-height="['auto']" data-type="text" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:900,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:left;skX:45px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;300&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(255, 255, 255, 1.00);bg:rgba(0, 0, 0, 1.00);&quot;}]" data-textalign="['left','left','left','left']" data-paddingtop="[20,20,20,20]" data-paddingright="[22,22,22,22]" data-paddingbottom="[20,20,20,20]" data-paddingleft="[25,25,25,25]" style="z-index: 6; min-width: 411px; max-width: 411px; white-space: nowrap; cursor: pointer; visibility: inherit; transition: none; text-align: left; line-height: 25px; border-width: 0px; margin: 0px; padding: 17px 18px 17px 21px; letter-spacing: 0px; font-weight: 900; font-size: 25px; min-height: 0px; max-height: none; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">xxx</div></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 743px; top: 251px; z-index: 9;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption rev-btn  tp-resizeme rs-hover-ready" href="xxx" target="_self" id="slide-36-layer-5" data-x="900" data-y="273" data-width="['300']" data-height="['auto']" data-type="button" data-actions="" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:1000,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:right;skX:-85px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;0&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(0, 0, 0, 1.00);bg:rgba(255, 255, 255, 1.00);bs:solid;bw:0 0 0 0;&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[12,12,12,12]" data-paddingright="[35,35,35,35]" data-paddingbottom="[12,12,12,12]" data-paddingleft="[35,35,35,35]" style="z-index: 9; min-width: 248px; max-width: 248px; white-space: nowrap; font-size: 22px; line-height: 14px; font-weight: 500; color: rgb(255, 255, 255); font-family: Roboto; background-color: rgba(0, 0, 0, 0.74902); border-color: rgb(0, 0, 0); outline: none; box-shadow: none; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: inherit; border-width: 0px; margin: 0px; padding: 10px 29px; letter-spacing: 0px; min-height: 0px; max-height: none; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">xxx</a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 743px; top: 299px; z-index: 10;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption rev-btn  tp-resizeme rs-hover-ready" href="xxx" target="_self" id="slide-36-layer-6" data-x="900" data-y="331" data-width="['300']" data-height="['auto']" data-type="button" data-actions="" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:1100,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:right;skX:-85px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;0&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(0, 0, 0, 1.00);bg:rgba(255, 255, 255, 1.00);bs:solid;bw:0 0 0 0;&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[12,12,12,12]" data-paddingright="[35,35,35,35]" data-paddingbottom="[12,12,12,12]" data-paddingleft="[35,35,35,35]" style="z-index: 10; min-width: 248px; max-width: 248px; white-space: nowrap; font-size: 22px; line-height: 14px; font-weight: 500; color: rgb(255, 255, 255); font-family: Roboto; background-color: rgba(0, 0, 0, 0.74902); border-color: rgb(0, 0, 0); outline: none; box-shadow: none; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: inherit; border-width: 0px; margin: 0px; padding: 10px 29px; letter-spacing: 0px; min-height: 0px; max-height: none; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">xxx</a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 743px; top: 347px; z-index: 11;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption rev-btn  tp-resizeme rs-hover-ready" href="xxx" target="_self" id="slide-36-layer-7" data-x="900" data-y="389" data-width="['300']" data-height="['auto']" data-type="button" data-actions="" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:1200,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:right;skX:-85px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;0&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(0, 0, 0, 1.00);bg:rgba(255, 255, 255, 1.00);bs:solid;bw:0 0 0 0;&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[12,12,12,12]" data-paddingright="[35,35,35,35]" data-paddingbottom="[12,12,12,12]" data-paddingleft="[35,35,35,35]" style="z-index: 11; min-width: 248px; max-width: 248px; white-space: nowrap; font-size: 22px; line-height: 14px; font-weight: 500; color: rgb(255, 255, 255); font-family: Roboto; background-color: rgba(0, 0, 0, 0.74902); border-color: rgb(0, 0, 0); outline: none; box-shadow: none; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: inherit; border-width: 0px; margin: 0px; padding: 10px 29px; letter-spacing: 0px; min-height: 0px; max-height: none; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">xxx</a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 148px; top: 517px; z-index: 12;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><div class="tp-caption   tp-resizeme" id="slide-36-layer-8" data-x="180" data-y="595" data-width="['auto']" data-height="['auto']" data-type="text" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:1000,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:left;skX:45px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 12; white-space: nowrap; font-size: 22px; line-height: 25px; font-weight: 400; color: rgb(255, 255, 255); font-family: &quot;Roboto Condensed&quot;; visibility: inherit; transition: none; text-align: inherit; border-width: 0px; margin: 0px; padding: 0px; letter-spacing: 0px; min-height: 0px; min-width: 0px; max-height: none; max-width: none; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;"><form role="search" method="get" id="searchform" class="revtp-searchform" action="xxx" style="transition: none; text-align: inherit; line-height: 22px; border-width: 0px; margin: 0px; padding: 0px; letter-spacing: 0px; font-weight: 400; font-size: 20px;"><input type="text" value="" name="s" id="s" placeholder="Nach welchem Spiel suchst du?" style="transition: none; text-align: inherit; line-height: 20px; border-width: 2px; margin: 0px; padding: 1px 0px; letter-spacing: 0px; font-weight: 400; font-size: 17px;"><input type="submit" id="searchsubmit" value="Preise vergleichen" style="transition: none; text-align: inherit; line-height: 20px; border-width: 2px; margin: 0px; padding: 1px 5px; letter-spacing: 0px; font-weight: 400; font-size: 17px;"></form> </div></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 500px; top: 643px; z-index: 13;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption rev-scroll-btn revs-fullwhite  tp-resizeme" href="xxx" target="_self" id="slide-36-layer-9" data-x="605" data-y="747" data-width="['35']" data-height="['55']" data-visibility="['on','on','off','off']" data-type="button" data-actions="" data-responsive_offset="on" data-frames="[{&quot;delay&quot;:10,&quot;speed&quot;:300,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;opacity:0;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;}]" data-textalign="['inherit','inherit','inherit','inherit']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 13; min-width: 29px; max-width: 29px; white-space: nowrap; font-weight: 300; font-family: &quot;Open Sans&quot;; background-color: rgb(255, 255, 255); border-color: rgb(255, 255, 255); border-style: solid; border-width: 2px; border-radius: 23px; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: inherit; line-height: 18px; margin: 0px; padding: 0px; letter-spacing: 0px; font-size: 13px; min-height: 45px; max-height: 45px; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">
<span style="transition: none; text-align: inherit; line-height: 15px; border-width: 0px; margin: -3px 0px 0px -3px; padding: 0px; letter-spacing: 1px; font-weight: 400; font-size: 11px;">
</span>
</a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 991px; top: 100px; z-index: 14;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption   rs-hover-ready" href="xxx" target="_blank" id="slide-36-layer-11" data-x="1199" data-y="90" data-width="['37']" data-height="['37']" data-type="button" data-actions="" data-responsive_offset="on" data-responsive="off" data-frames="[{&quot;delay&quot;:0,&quot;speed&quot;:600,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:right;skX:-85px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;0&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(255, 255, 255, 1.00);br:0 0 0 0;&quot;}]" data-textalign="['center','center','center','center']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 14; min-width: 37px; max-width: 37px; white-space: nowrap; font-size: 20px; line-height: 37px; font-weight: 400; color: rgb(255, 255, 255); font-family: Raleway; background-color: rgb(59, 89, 152); border-radius: 50px; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: center; margin: 0px; padding: 0px; letter-spacing: 0px; min-height: 37px; max-height: 37px; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">
<i class="fa-icon-facebook"></i>
</a></div></div></div>
 
<div class="tp-parallax-wrap" style="position: absolute; display: block; visibility: visible; left: 991px; top: 148px; z-index: 15;"><div class="tp-loop-wrap" style="position:absolute;display:block;;"><div class="tp-mask-wrap" style="position: absolute; display: block; overflow: visible;"><a class="tp-caption   rs-hover-ready" href="mailto:kontakt@xxx.de" target="_blank" id="slide-36-layer-12" data-x="1200" data-y="148" data-width="['37']" data-height="['37']" data-type="button" data-actions="" data-responsive_offset="on" data-responsive="off" data-frames="[{&quot;delay&quot;:0,&quot;speed&quot;:600,&quot;frame&quot;:&quot;0&quot;,&quot;from&quot;:&quot;x:right;skX:-85px;&quot;,&quot;to&quot;:&quot;o:1;&quot;,&quot;ease&quot;:&quot;Power3.easeOut&quot;},{&quot;delay&quot;:&quot;wait&quot;,&quot;speed&quot;:300,&quot;frame&quot;:&quot;999&quot;,&quot;to&quot;:&quot;opacity:0;&quot;,&quot;ease&quot;:&quot;Power3.easeInOut&quot;},{&quot;frame&quot;:&quot;hover&quot;,&quot;speed&quot;:&quot;0&quot;,&quot;ease&quot;:&quot;Linear.easeNone&quot;,&quot;to&quot;:&quot;o:1;rX:0;rY:0;rZ:0;z:0;&quot;,&quot;style&quot;:&quot;c:rgba(255, 255, 255, 1.00);br:0 0 0 0;&quot;}]" data-textalign="['center','center','center','center']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 15; min-width: 37px; max-width: 37px; white-space: nowrap; font-size: 20px; line-height: 37px; font-weight: 400; color: rgb(255, 255, 255); font-family: Raleway; background-color: rgba(0, 0, 0, 0.490196); border-radius: 50px; box-sizing: border-box; cursor: pointer; text-decoration: none; visibility: inherit; transition: none; text-align: center; border-width: 0px; margin: 0px; padding: 0px; letter-spacing: 0px; min-height: 37px; max-height: 37px; opacity: 1; transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); transform-origin: 50% 50% 0px;">
<i class="fa-icon-envelope"></i>
</a></div></div></div>
</li>
</ul>
<div class="tp-bannertimer tp-bottom" style="visibility: hidden !important; width: 0%;"></div> <div class="tp-loader spinner0" style="display: none;"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div>
<script>var htmlDiv = document.getElementById("rs-plugin-settings-inline-css"); var htmlDivCss=".tp-caption.FatRounded,.FatRounded{color:rgba(255,255,255,1.00);font-size:30px;line-height:30px;font-weight:900;font-style:normal;font-family:Raleway;text-decoration:none;background-color:rgba(0,0,0,0.50);border-color:rgba(211,211,211,1.00);border-style:none;border-width:0px;border-radius:50px 50px 50px 50px;text-shadow:none}.tp-caption.FatRounded:hover,.FatRounded:hover{color:rgba(255,255,255,1.00);text-decoration:none;background-color:rgba(0,0,0,1.00);border-color:rgba(211,211,211,1.00);border-style:none;border-width:0px;border-radius:50px 50px 50px 50px;cursor:pointer}";
				if(htmlDiv) {
					htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
				}else{
					var htmlDiv = document.createElement("div");
					htmlDiv.innerHTML = "<style>" + htmlDivCss + "</style>";
					document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]);
				}
			</script>
<script type="text/javascript">
						/******************************************
				-	PREPARE PLACEHOLDER FOR SLIDER	-
			******************************************/

			var setREVStartSize=function(){
				try{var e=new Object,i=jQuery(window).width(),t=9999,r=0,n=0,l=0,f=0,s=0,h=0;
					e.c = jQuery('#rev_slider_14_1');
					e.gridwidth = [1240];
					e.gridheight = [868];
							
					e.sliderLayout = "fullscreen";
					e.fullScreenAutoWidth='off';
					e.fullScreenAlignForce='off';
					e.fullScreenOffsetContainer= '';
					e.fullScreenOffset='';
					if(e.responsiveLevels&&(jQuery.each(e.responsiveLevels,function(e,f){f>i&&(t=r=f,l=e),i>f&&f>r&&(r=f,n=e)}),t>r&&(l=n)),f=e.gridheight[l]||e.gridheight[0]||e.gridheight,s=e.gridwidth[l]||e.gridwidth[0]||e.gridwidth,h=i/s,h=h>1?1:h,f=Math.round(h*f),"fullscreen"==e.sliderLayout){var u=(e.c.width(),jQuery(window).height());if(void 0!=e.fullScreenOffsetContainer){var c=e.fullScreenOffsetContainer.split(",");if (c) jQuery.each(c,function(e,i){u=jQuery(i).length>0?u-jQuery(i).outerHeight(!0):u}),e.fullScreenOffset.split("%").length>1&&void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0?u-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0&&(u-=parseInt(e.fullScreenOffset,0))}f=u}else void 0!=e.minHeight&&f<e.minHeight&&(f=e.minHeight);e.c.closest(".rev_slider_wrapper").css({height:f})
					
				}catch(d){console.log("Failure at Presize of Slider:"+d)}
			};
			
			setREVStartSize();
			
						var tpj=jQuery;
			
			var revapi14;
			tpj(document).ready(function() {
				if(tpj("#rev_slider_14_1").revolution == undefined){
					revslider_showDoubleJqueryError("#rev_slider_14_1");
				}else{
					revapi14 = tpj("#rev_slider_14_1").show().revolution({
						sliderType:"hero",
jsFileLocation:"//xxx/",
						sliderLayout:"fullscreen",
						dottedOverlay:"none",
						delay:9000,
						navigation: {
						},
						visibilityLevels:[1240,1024,778,480],
						gridwidth:1240,
						gridheight:868,
						lazyType:"none",
						shadow:0,
						spinner:"spinner0",
						autoHeight:"off",
						fullScreenAutoWidth:"off",
						fullScreenAlignForce:"off",
						fullScreenOffsetContainer: "",
						fullScreenOffset: "",
						disableProgressBar:"on",
						hideThumbsOnMobile:"off",
						hideSliderAtLimit:0,
						hideCaptionAtLimit:0,
						hideAllCaptionAtLilmit:0,
						debugMode:false,
						fallbacks: {
							simplifyAll:"off",
							disableFocusListener:false,
						}
					});
				}
			});	/*ready*/
		</script>
</div><div class="tp-fullwidth-forcer" style="width: 100%; height: 770px;"></div></div> 
TEXT TEXT TEXT

MfG und Vielen Dank!
 
Der Code, den du gepostet hast, hilft uns leider nicht wirklich weiter - wir müssten sehen können, welche Styles an den beteiligten Elementen (vor allem Container und Header) gesetzt sind. Am besten wäre ein Link zu einer Demo-Seite, damit wir selbst mit dem Inspektor etc. drangehen können.
 
Auch wenn ich das ungerne mache. Hier mal der Link. Ich nehme in aber die Tage wieder raus!
*** Link entfernt ***
 
Zuletzt bearbeitet:
/wp-content/themes/affiliatetheme/style.css

Code:
#content{padding-top:30px} Wert auf Null setzen {padding-top:0}
 
Du kannst mit F12 im Browser Entwicklertools öffnen und kannst damit schnell Eigenschaften verändern, hinzufügen, ...

Mit ein wenig Zeit findet man da fast alles. ;)
 
Das hatte ich ja. Aber ich habe nicht die Klasse für den Abstand gefunden...
 
Sorry für die verspätete Rückmeldung ... lag am ganz normalen Weihnachtshorror.

Also, Screenshot und eingebetteter Code in #1 zeigten eigentlich schon, wo man in etwa fündig werden dürfte - aber wie Nullpointer in #2 richtig einwarf, reicht das eben nicht. Mit dem Link in #4 konnte man schließlich die Seite aufrufen - und wie FranzvonAssisi in #7 schrieb, nun -per browsereigenem Entwicklertool- die lokale Ansicht manipulieren- was allerdings ein gewisses Maß an Kenntnissen voraussetzt. Ein anderer, einfacherer Weg war übrigens

Webdeveloper (-Leiste einblenden) -> Kontur -> Eigene Elemente mit Kontur versehen -> Eingabe: #content

danach wieder per

Webdeveloper -> CSS -> CSS ansehen -> STRG + F Eingabe: #content

(11 Selektoren Funde - durchklicken bis man entweder auf die Eigenschaften: margin, padding oder position trifft)

Voila. Kurze Überprüfung mit

Stylish -> Neuen Style erstellen -> Für diese Url ->

HTML:
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("https://deine-adresse.de/") {
#content {padding-top:0}}

und passte ... wünsche Dir und allen CB-Lesern noch stressfreie Feiertage.
 
Zuletzt bearbeitet von einem Moderator: (Typo)
Zurück
Oben