Top

404 error page

The Striking 404 page.

The text displayed on the 404 page can be modified, set and changed in the theme advanced settings

[error]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/error]

[toggle title=”Grab the Code”][code][error]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/error][/code][/toggle]

[divider_padding]

[framed_box bgColor=”rgba(243,11,11,0.3)” borderColor=”rgba(243,11,11,1)” borderThickness=”4″ textColor=”rgba(243,11,11,1)” rounded=”true” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/framed_box]

[toggle title=”Grab the Code”][code][framed_box bgColor=”rgba(243,11,11,0.3)” borderColor=”rgba(243,11,11,1)” borderThickness=”4″ textColor=”rgba(243,11,11,1)” rounded=”true” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/framed_box][/code][/toggle]

[divider_padding]

[note title=”404 error” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/note]

[toggle title=”Grab the Code”][code][note title=”404 error” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/note] [/code][/toggle]

[divider_padding]

[framed_box bgColor=”rgba(60,171,206,.06)” borderColor=”rgba(60,171,206,.4)” borderThickness=”4″ textColor=”rgba(243,11,11,1)” rounded=”true” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/framed_box]
[toggle title=”Grab the Code”][code][framed_box bgColor=”rgba(60,171,206,.06)” borderColor=”rgba(60,171,206,.4)” borderThickness=”4″ textColor=”rgba(243,11,11,1)” rounded=”true” align=”center”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/framed_box][/code][/toggle]

[divider_padding]

striking-404-settings

Featured Header 404 Code

In the featured header of this demo page we show a custom 404 message with a image. In responsive view (below 768) the image will disappear and the box will grow to 100%. This is done by CSS.
You can grab the code below and do the same trick on your own website for your real 404 page. For this put the Featured Header ShortCode into the striking advanced settings -> Archive Title Settings -> 404 Page Text field and the supplied custom css into the striking global custom css box at the theme general settings.

[toggle title=”Grab the Code For The Featured Header”]

The Featured Header ShortCode

[code]

404 Not Found!

[divider_padding][three_fifth][framed_box bgColor=”rgba(243,11,11,0.3)” borderColor=”rgba(243,11,11,1)” borderThickness=”4″ textColor=”rgba(255,255,255,1)” rounded=”true” align=”center” width=”70%” class=”enlarge”]It looks like the page you’re looking for isn’t here anymore. Try using the search box or sitemap below.[/framed_box][/three_fifth]
[two_fifth_last]rev_landing_girl[/two_fifth_last]

Hi you found the 404 page ! How can i help you?

[/code]

The CSS

[code]@media only screen and (max-width: 767px) {
.hideme{display:none;}
.enlarge {width:100% !important;}
}[/code]

The trick explained : we added a class called “enlarge” (class=”enlarge”) to the framed box by the shortcode option settings. We added manually a class called “hideme” to the image (class=”hideme alignnone size-full wp-image-1795″ ). The latter could have been avoided by directly calling the .wp-image-1795 ID. Then we addressed the classes by css and let them behave differently only below a certain viewpoint by putting that code into a viewpoint wrapper.

[code]@media only screen and (max-width: 767px) {
.hideme{display:none;}
.enlarge {width:100% !important;}
}[/code]

[/toggle]