Skip to content

Instantly share code, notes, and snippets.

<div class="closer-row">
<div class="closer" style="width:30%; float:left;">
<div class="content">
<div class="headline">
<h4>Headline</h4>
<figure>
<img src="http://placehold.it/350x150" class="img-responsive">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illo possimus porro consequuntur excepturi eligendi blanditiis facere, aliquam obcaecati dolore quos nesciunt eius maxime assumenda laborum iure nemo
tenetur. Quaerat, facere?</p>
#####
#
# Example .htaccess file for TYPO3 CMS - for use with Apache Webserver
#
# This file includes settings for the following configuration options:
#
# - Compression via TYPO3
# - Settings for mod_rewrite (URL-Rewriting)
# - PHP optimisation
# - Miscellaneous
@ssteinker
ssteinker / html
Last active August 29, 2015 14:06
<div class="block-spacer">
<div class="row">
<div class="col-xxs-12 col-xs-4 col-sm-4">
<img class="responsive" src="http://lorempixel.com/g/360/200/abstract/8/360-200/" title="" alt=""/>
</div>
<div class="col-xxs-12 col-xs-8 col-sm-8">
<h2>Überschrift</h2>
<div>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
@ssteinker
ssteinker / Analytics neu
Last active August 29, 2015 14:04
Neuer Code
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
var pageTracker;
getTracker();
function getTracker() {
if (typeof(_gat) == 'object'){
pageTracker = _gat._createTracker("UA-2605916-1");
<div class="col-md-4 second">
<div class="content bgCosmetics" style="padding:0px; background:#fff;">
<figure>
<img src="#" alt="#altname">
</figure>
</div>
<a class="btn btn-default btn-lg btn-block" href="#" target="_blank">Zum Angebot</a>
</div>
<div>
<h3>BEWERTEN &amp; GEWINNEN</h3>
<p>Jetzt hochwertige Preise von URBANARA und Secret Escapes gewinnen.&nbsp;</p>
<figure>
<img src="###IMG LINK###" alt="###IMG ALT###">
</figure>
</div>
@ssteinker
ssteinker / MediaQueriesBS3
Created May 14, 2014 14:20
default Media Queries for BS 3
/*==================================================
= Bootstrap 3 Media Queries =
==================================================*/
/*========== Mobile First Method ==========*/
/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
}
@ssteinker
ssteinker / RewriteRule index.php?id=xx
Created January 21, 2014 13:22
Rewirte condition to catch the ID out of "index.php?id=XXX" and redirect them to the new home.
RewriteCond %{THE_REQUEST} "/index\.php\?id=417"
RewriteRule index\.php http://www.yourhost.com/new/page/path/? [R=301]
@ssteinker
ssteinker / WPML_LanguageCode
Created January 15, 2014 08:39
simple php if-function to output language specific content for WPML. WPML if requested language code is…
<?php if ( ICL_LANGUAGE_CODE=='en' ) : ?>
ENG
<?php endif; ?>
<?php if ( ICL_LANGUAGE_CODE=='de' ) : ?>
DE
<?php endif; ?>
@ssteinker
ssteinker / famelo_location
Created December 10, 2013 13:10
used to style famelo_location
// Storefinder
#map-canvas {
border: 1px solid @grey;
}
.form-inline {
padding: 10px;
background: lighten(@grey, 70%);
.wrapper {