• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

framework

Styling Genesis Post Navigation

January 21, 2014

The Genesis framework has a feature where you choose the post navigation technique. You can select either “previous / next” or the “numeric” option. This feature is found under the main Genesis Theme settings about halfway down. Selecting the “numeric” option, in this example, will display the numeric post navigation at the bottom of the home page after the main content.

pagination

Unfortunately, it didn’t always look like this, when I first enabled it. It lacks margin and some padding. The link colors falls back to the default colors. I had to style the post navigation technique to make it look better. So, I just wanted to share with you the following CSS styles that will make this Genesis numeric post navigation technique look much better.

/* Page Navigation */
.navigation li {
   font-size:14px;
}
.navigation li a {
   padding:10px;
   margin:0;
   color: #fff;
   background-color: #777;border-radius:5px;
}
.navigation li.active a {
   padding:10px;
   margin:0;
   color:#000;
   background-color:#aaa;
   border-radius:5px;
}
.navigation li a:hover {
   color:#000
}

/* Page Navigation */ .navigation li { font-size:14px; } .navigation li a { padding:10px; margin:0; color: #fff; background-color: #777;border-radius:5px; } .navigation li.active a { padding:10px; margin:0; color:#000; background-color:#aaa; border-radius:5px; } .navigation li a:hover { color:#000 }

First, I increased the font size to make it more legible. I added some padding and margins, gave it some link color, background color, and added a border radius to make it less boxy. Finally, I also changed the hover color to show a mouse rollover. It’s nothing fancy, but it looks much better with a little bit of window dressing.

Filed Under: CSS, WP Tagged With: framework, genesis, navigation

HTML Kickstart

January 6, 2014

HTML Kickstart is an ultra-lean website framework built on top of HTML5, CSS3, Javascript and JQuery. HTML Kickstart is a good alternative to the widely-popular Twitter’s Bootstrap. The download is quite small. It’s less than 1MB, but it’s quite powerful in terms of what you can do with it. All you have to do is add 3 lines into your existing HTML page to enable HTML Kickstart.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/kickstart.js"></script> <!-- KICKSTART -->
<link rel="stylesheet" href="css/kickstart.css" media="all" /> <!-- KICKSTART -->

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="js/kickstart.js"></script> <!-- KICKSTART --> <link rel="stylesheet" href="css/kickstart.css" media="all" /> <!-- KICKSTART -->

The framework is well documented and quite easy to follow and implement. Some of the framework features are the ability to render: buttons, lists, menus, tables, tooltips, menus, horizontal rules, icons, code, tabs, breadcrumbs, responsive and flexible grid/ columns, images, slideshow, forms, labels, and extra helpers.

If you’re looking for a great alternative to Bootstrap, give HTML Kickstart a try.

Filed Under: CSS, HTML, JS Tagged With: framework, html kickstart

  • Home
  • About
  • Archives

Copyright © 2023