Fixing Layout the "Proper" Way
I fixed a formatting problem by adjusting “template” files within a plugin I installed, instead of adjusting the theme I installed. I feel that was backwards, so I’d like to know how to leave the plugin unmodified, and fix the theme instead.
To be specific, I combined the “Eximius” 3-column theme with the “Now Reading Reloaded” plugin. Links I selected from the “Now Reading” sidebar caused my site to experience a format bad-hair-day. So I fixed the problem by finding plugin code that looked like this:
<div id="content" class="narrowcolumn primary now-reading">...</div> <?php get_sidebar(); ?>
And replaced it with this:
<?php include (TEMPLATEPATH . '/sidebarLeft.php'); ?> <div id="content" class="narrowcolumn primary now-reading">...</div>
These changes entirely solved the problem. But I want to solve it correctly. What should I have done to the Eximius theme to accomplish the same result?
p.s. In 2002-2003, I worked extensively with CSS though now I am very rusty.
- The topic ‘Fixing Layout the "Proper" Way’ is closed to new replies.