noelsaw
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Need help with spacingZeniph, thanks! That worked!
Forum: Themes and Templates
In reply to: Need help with spacingAnother problem that I am having is that the if the browser window is less than 1280 wide, then the content area starts straying into the vertical navbar area. Any ideas?
Forum: Themes and Templates
In reply to: Need help with spacingDrew, did the background repeat code. Fixed on the bottom but shows on top. Also the vertical navbar drops down and content area is on top of it.
Any ideas please?
Forum: Themes and Templates
In reply to: Need help with spacingOne last request Drew, can you take a look at the site in IE 6 or 7. A part of the background for the center shows in the top and bottom. Any suggestion please?
Forum: Themes and Templates
In reply to: Need help with spacingHey that works! Thanks a bunch!
Forum: Themes and Templates
In reply to: Need help with spacingOk I removed both sets in functions.php and now the content goes above the sidenav…
Here is the original code (not the modded one)
===<?php /* File Name: WordPress Theme Toolkit Version: 1.0 Author: Ozh Author URI: https://planetOzh.com/ */ /************************************************************************************ * THEME USERS : don't touch anything !! Or don't ask the theme author for support :) ************************************************************************************/ include(dirname(__FILE__).'/themetoolkit.php'); /************************************************************************************ * THEME AUTHOR : edit the following function call : ************************************************************************************/ themetoolkit( 'mytheme', /* Make yourself at home : * Name of the variable that will contain all the options of * your theme admin menu (in the form of an array) * Name it according to PHP naming rules (https://php.net/variables) */ array( /* Variables used by your theme features (i.e. things the end user will * want to customize through the admin menu) * Syntax : * 'option_variable' => 'Option Title ## optionnal explanations', * 'option_variable' => 'Option Title {radio|value1|Text1|value2|Text2} ## optionnal explanations', * 'option_variable' => 'Option Title {textarea|rows|cols} ## optionnal explanations', * 'option_variable' => 'Option Title {checkbox|option_varname1|value1|Text1|option_varname2|value2|Text2} ## optionnal explanations', * Examples : * 'your_age' => 'Your Age', * 'cc_number' => 'Credit Card Number ## I can swear I will not misuse it :P', * 'gender' => 'Gender {radio|girl|You are a female|boy|You are a male} ## What is your gender ?' * Dont forget the comma at the end of each line ! */ 'floatbar' => 'Sidebar Option {radio|left|Left Sidebar|right|Right Sidebar}', ), __FILE__ /* Parent. DO NOT MODIFY THIS LINE ! * This is used to check which file (and thus theme) is calling * the function (useful when another theme with a Theme Toolkit * was installed before */ ); /************************************************************************************ * THEME AUTHOR : Congratulations ! The hard work is all done now :) * * From now on, you can create functions for your theme that will use the array * of variables $mytheme->option. For example there will be now a variable * $mytheme->option['your_age'] with value as set by theme end-user in the admin menu. ************************************************************************************/ /*************************************** * Additionnal Features and Functions * * Create your own functions using the array * of user defined variables $mytheme->option. * **************************************/ /* mytheme_about use <?php mytheme_about() ?> to print either what the author wrote in his profile (Admin Area, Users page), or a friendly message if nothing has been filled in. */ function mytheme_about() { if (get_the_author_description()) { print get_the_author_description(); } else { print "The author does not say much about himself"; } } /* mytheme_sidebar() Prints css style according to what has been defined in the admin pannel */ function mytheme_sidebar() { global $mytheme; if ($mytheme->option['floatbar'] == 'right') { echo ' /* Menu on the Right */ #content {float: left;} #sidebar {float: right;} '; } else { echo ' /* Menu of the Left */ #content {float: right;} #sidebar {float: left;} '; } } ?>
Forum: Themes and Templates
In reply to: Need help with spacingI tried looking for that and for whatever reason I could not find it any of the theme docs. I finally found it buried inside “functions.php”. I’ll give that a try!
Forum: Themes and Templates
In reply to: Need help with spacingDrew, BTW I am more than willing to repay you with a few Sbux drinks (or beers), whatever your preference…
Forum: Themes and Templates
In reply to: Need help with spacingDrew, many thanks for the changes. For some reason now the sidenav is not aligning to the top of the page.
Also, please give me an example of the embedded styles.
Forum: Themes and Templates
In reply to: Need help with spacingHi Drew, thanks for the suggestion but it didn’t seem to help…
Thanks in advance for any other tips…