Pages

Showing posts with label Stylesheet. Show all posts
Showing posts with label Stylesheet. Show all posts

Uneven Column In Genesis Framework WordPress Theme

I've been using StudioPress's Genesis Framework on WordPress website. However, I have never seem someone give the example of using uneven columns. So here I go.

I was wondering why there are style named two-sixths. Now I see how to use it. Here is the end result of un-even column in the Genesis Framework Child theme on WordPress blog.


And here is the HTML source code.

Stylesheet For Better Listing Using li:before And Word-Wrap

Sometimes using default list-style-type just can't make the layout looks much better. It looks like this on one of my client's WordPress website.


The second line is wrapped below the > symbol. Using the default list-style-position: outside; won't solve the problem. The only solution is to use table display style to make it looks like a table cell and row. So using the following stylesheet and display attribute will solve the problem.


Blank Page With URL Parameter fb_xd_fragment

I am still not sure why it causes the page to display blank content when someone hit the site with the Facebook social plugin and URL parameter fb_xd_fragment.

Here is the temporary fix to display the content, however, it will disable the Facebook widget.

Problem:
I found this occurring on one of my sites using AddThis - and it affects ALL browsers, not just Internet Explorer. Haven't figured out exactly how or why it happens but the Facebook frame manages to set the parent's element to display: none.
Solution:

Add the following lines to your main style file.

html { 
    display: block !important;
}
Read the original post!