WordPress with PageLines theme: how to change the background color of a page? [duplicate]
On line 367 of style.css you need to change .mcolumn-pad { padding-top: 2em; } to .mcolumn-pad { padding-top: 2em; background: #FFF; }
On line 367 of style.css you need to change .mcolumn-pad { padding-top: 2em; } to .mcolumn-pad { padding-top: 2em; background: #FFF; }
If PHP is your worry… … I quickly felt distressed from the fact that it seemed to me I needed to move around a lot of things with PhP or to play with it so to be able to make the possible changes I need. … you are going to have trouble with either a … Read more
My blog has a design issue.
It turns out there are a couple of important parts here. One is the “Featured Video Plus” Plugin to nest your video up in the area normally reserved for Featured Images, which gives it a nice, static, and dependable placement. Another is Squelch Tabs and Accordions or a similar AJAX-powered tabbing plugin, which enables multi-page … Read more
In order to work on WordPress code, you must have a working server with PHP properly configured, and you must install WordPress on that server. You cannot simply open the files the way you can vanilla HTML files. That won’t work. The PHP will not execute, for one, and there will be no database for … Read more
Share common libraries across multiple themes/plugins
In your sidebar array as an example: register_sidebar(array( ‘id’ => ‘footer’, ‘name’ => ‘Footer’, ‘before_widget’ => ‘<div id=”%1$s” class=”widget col-sm-4 %2$s”>’, ‘after_widget’ => ‘</div>’, ‘before_title’ => ‘<h4 class=”widgettitle”>’, ‘after_title’ => ‘</h4>’, )); Don’t worry about wrapping the sidebar in a row. Let this do it for you. See, the col-sm-4 (or whatever size, with 4) … Read more
Using the Posts 2 Posts Module which is still being developed just no support is being offered except through the git fork. How to use it. function my_connection_types() { p2p_register_connection_type( array( ‘name’ => ‘posts_to_pages’, ‘from’ => ‘post_type_1’, ‘to’ => ‘post_type_2’, ‘cardinality’ => ‘one-to-many’ ) ); } add_action( ‘p2p_init’, ‘my_connection_types’ ); The above example will create … Read more
How to add class and span to
Your ‘ul’ element is set to have width of 1000px, and last child ‘li’ element is breaking on new line on some systems because there is not enough space for all elements in one line (one some systems due to font rendering, percentage calculations, etc..) You could make ‘ul’ element 100% wide, and center inner … Read more