Quantcast
Channel: Shockmag
Viewing all articles
Browse latest Browse all 11

How to build a site from scratch like on live preview

$
0
0
screenphoto-4

Before starting these steps you have to have installed Shockmag the theme and required plugins. Please, make sure you’ve followed the Theme Installation part of documentation which comes with theme package.

Step 1: Frontpage
  • Start a new page (Pages > Add New) based on the Frontpage page template.

  • Select sidebar and sidebar position.

  • Publish it.

  • Set it as front page from within Settings > Reading page.

Step 2: Theme settings
  • Simple way
  • Advanced way

Drop this code on the Theme Panel > Import / Export page:

YToxMTI6e3M6MjE6InRhYl9zdF9tYWpvcl9zZXR0aW5ncyI7czo3OiJnZW5lcmFsIjtzOjk6ImxvZ29fdHlwZSI7czo1OiJpbWFnZSI7czo0OiJsb2dvIjtzOjMwOiJodHRwOi8vaS5pbWd1ci5jb20vMmNheGEwUi5wbmciO3M6NjoibG9nbzJ4IjtzOjMwOiJodHRwOi8vaS5pbWd1ci5jb20vTEpMaWR6YS5wbmciO3M6ODoic2l0ZW5hbWUiO3M6MDoiIjtzOjc6ImZhdmljb24iO3M6MDoiIjtzOjEwOiJjb3B5cmlnaHRzIjtzOjE1MjoiMjAxNSAmY29weTsgU2hvY2ttYWcgTWVucyAvIA0KPGEgaHJlZj0iIyI+TG9yZW08L2E+IC8gDQo8YSBocmVmPSIjIj5JcHN1bTwvYT4gLyANCjxhIGhyZWY9IiMiPkRvbG9yPC9hPiAvIA0KPGEgaHJlZj0iIyI+U2l0PC9hPiAvIA0KPGEgaHJlZj0iIyI+QW1ldDwvYT4iO3M6ODoiZGV2X2xpbmsiO3M6MDoiIjtzOjE2OiJnb29nbGVfYW5hbHl0aWNzIjtzOjA6IiI7czoxMzoiYmxvZ190ZW1wbGF0ZSI7czozOiJ0MTEiO3M6MTA6InN0aWNreV9xdHkiO3M6MToiMCI7czoxMToic3RpY2t5X2NhdHMiO3M6Mzc6ImFjY2lkZW50cywgY3Jhc2hlcywgZmlyZXMsIGh1cnJpY2FuZXMiO3M6MTQ6InN0aWNreV9leGNsdWRlIjtzOjA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czowOiIiO3M6MTQ6ImNhY2hlLW1lZ2FtZW51IjtzOjM6InllcyI7czoxMzoic21vb3RoLXNjcm9sbCI7czowOiIiO3M6MTU6ImdhbGxlcnktZGVmYXVsdCI7czowOiIiO3M6MTI6InByb2R1Y3RzX3F0eSI7czoyOiIxMiI7czoxMToid29vY19hc3NldHMiO3M6MDoiIjtzOjc6ImFkc2Vuc2UiO3M6MDoiIjtzOjEwOiJhZHNlbnNlX2lkIjtzOjA6IiI7czoyMToidGFiX3N0X3N0eWxlX3NldHRpbmdzIjtzOjY6ImN1c3RvbSI7czo1OiJzdHlsZSI7czo1OiJsaWdodCI7czoxMzoiY29sb3ItcHJpbWFyeSI7czo2OiIxMTExMTEiO3M6MTU6ImNvbG9yLXNlY29uZGFyeSI7czo2OiJiMDllMjciO3M6MTA6ImN1c3RvbV9jc3MiO3M6MTM5OiIjY29weXJpZ2h0cy1ib3ggew0KYm9yZGVyLXRvcDogbm9uZTsNCn0NCg0KQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAoIG1pbi13aWR0aDogMTMyMHB4ICkgew0KDQogaDEucG9zdC10aXRsZSB7DQogIGZvbnQtc2l6ZTogMy41ZW07DQogfQ0KDQp9Ijt9

Set the settings as shown on screenshots:


Raleway font

<link href='https://fonts.googleapis.com/css?family=Raleway:500' rel='stylesheet' type='text/css'>

font-family: 'Raleway', sans-serif;

body, div, td

Playfair Display font

<link href='https://fonts.googleapis.com/css?family=Playfair+Display:400,400italic,700,900,700italic,900italic' rel='stylesheet' type='text/css'>

font-family: 'Playfair Display', serif;

h1, h2, h3, h4, h5, h6, blockquote

Custom CSS

#copyrights-box {
border-top: none;
}

@media only screen and ( min-width: 1320px ) {

 h1.post-title {
  font-size: 3.5em;
 }

}
Step 3: Widgets

Go to Appearance > Widgets page and arrange widgets for your choice or like on demo site.

Step 4: Menu
  • Start a new menu from within Appearance > Menus page and attach it to Secondary menu location.


  • Arrange menu items with your preferences.

  • Set mega menu in case you need it.

  • Add icons on menu items.

The post How to build a site from scratch like on live preview appeared first on Shockmag.


Viewing all articles
Browse latest Browse all 11

Trending Articles