Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

How is Montezuma suited to non-coders?


  #1  
Old Apr 3, 2014, 07:36 AM
Zenith Blue
 
4 posts · Apr 2014
How is Montezuma suited to non-coders?

Hi all,
I've been lurking here since setting up Montezuma a few days ago. This is the first website I will have built. I am very familiar with the Wordpress backend but I am not an experienced coder. That said, I am willing to learn. I have managed small things like changed the header to my logo (although it looks quite poor). I don't know how to do things like change the general colour scheme and stuff like that. I see on the showing off tab that some websites look radically different.

Is there a general forum topic that covers basic coding issues with Montezuma? I see that the community is helpful (I have seen juggledad has solved a myriad of issues) but I can't seem to find them.

Thanks in advance
  #2  
Old Apr 7, 2014, 02:43 AM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
If you're not a coder, then you'll need to learn some minimal HTML and CSS, because it's the CSS which really impacts the appearance of your site, and you'll be digging often into Montezuma's virtual CSS pages (Appearance > Montezuma Options > CSS Files) to make your changes.

I like this CSS tutorial to start with. Then you'll want to know how to create selectors to target the elements on your page. And then, you must master one of the web debugging tools like Firebug (a free extension for FireFox) or Chrome Developer Tools, which comes built-in with Chrome (I mostly use Chrome DevTools). Those tools will help you see the structure of your page, as well as what CSS rules are affecting specific elements on your page so you can change or override them.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!

Last edited by CrouchingBruin; Apr 7, 2014 at 02:47 AM.
  #3  
Old Apr 7, 2014, 04:24 AM
Zenith Blue
 
4 posts · Apr 2014
Thank you very much for the response. I have started learning HTML and CSS (basic stuff) but knew nothing of the debugging tools. Thanks!
  #4  
Old Apr 7, 2014, 08:21 AM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
Once you get the basics down, and you want to do more advanced stuff, like moving the menu on a separate line, creating special category pages, or adding/subtracting sidebars, you'll want to read the documentation that's included within the Montezuma Options pages:

CSS Options > Editing CSS: Explains about the 12 column grid system, and how elements are assigned class names (col#) so they fit within the 12 column grid. Useful if you want to move your menu to a separate line, or if you want to adjust the width of the sidebar relative to the width of the main content.

CSS Options > Google Fonts: Explains how to add additional Google Fonts to your site (you may also want to read this post to get rid of the font "flicker" that occurs when your page loads). If you want to change the default font for your site, you'll want to edit or override the font-family property for the body element in the content.css virtual file.

Main Templates: how the templates system works. Useful if you want to create a special template for a specific page where, for example, you don't want a sidebar (i.e., you need more space on the page).
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!
  #5  
Old Apr 30, 2014, 10:44 AM
Zenith Blue
 
4 posts · Apr 2014
Thanks for the info Crouching Bruin. I'm wondering one or two things.

I have my menu set up at the top. I don't really like this and would love to set up another menu. How do you go about changing the menu and personalising it a bit more?
  #6  
Old Apr 30, 2014, 07:45 PM
CrouchingBruin's Avatar
CrouchingBruin
 
299 posts · Aug 2010
Santa Monica, CA
With Montezuma, you have to work back & forth between 1) the virtual template files, which determine what content you see (and generally where that content appears), and 2) the virtual CSS files, which styles the appearance of the content.

If you go to the header.php template file (Appearance > Montezuma Options > Sub Templates > header.php), you'll see the code which creates the header portion of your pages. In the bottom third you'll see this function call:
Code:
<?php wp_nav_menu( array( 
	'container' => 'nav', 
	'container_class' => 'menu-wrapper col7', 
	'container_id' => 'menu1-wrapper', 
	'menu_id' => 'menu1', 
	'menu_class' => 'cf menu', 
	'theme_location' => 'menu1', 
	'fallback_cb' => 'bfa_page_menu' 
) ); ?>
This PHP function call to wp_nav_menu causes "menu1" to be output. Basically, if you don't like where the menu is located, just cut out this bit of code and paste it somewhere else, either another place inside the header, or into a totally different subtemplate, like footer.php if you want your menu at the very bottom. The main thing that you have to remember is to adjust the class names (col#) to make it work well within the responsive grid system. That is, if you look at the code above, you'll notice that the default menu has a class of col7, because it's on the same row (or line) as the logo area, which has a class of col5. The class numbers for elements on the same row should add up to 12 for the responsiveness to work correctly. So if you want to put the menu on a totally separate row, all by itself, you want to give it a class of col12, and, because you're freeing up the space to the right of the logo area, you'll also want to adjust the class of the logo area to col12 as well.

Once you get the menu to the location that you want, you'll then use one of the web debugging tools that I mentioned earlier (Firebug or Chrome Developer Tools) and see what CSS rules are in effect for the menu. If you're using Chrome DevTools, then you'll mostly want to learn how to inspect the CSS rules (scroll down about halfway down to the Styles section). Once you figure out what rules you want to change, you can go to the virtual CSS file where the rule is located and change it there (most of the CSS for style menu1 should be found in the menus_menu1.css file), or you can add a rule to the end of the various.css file to override the existing rule (CSS files can be found by going to Appearance > Montezuma Options > CSS Files).

What's nice about Montezuma is that it is easy to play around with something like this. If you happen to screw up the appearance very badly, you can restore the header back to the default appearance by clicking the button at the bottom that has the circular arrow and reads subtemplate-header (don't click the Reset ALL button unless you want to restore the default settings of all options, including templates, CSS files, and header information). You should also regularly back-up your settings so you don't accidentally lose your work by going to the Export Import section, copying the contents of the Current Montezuma Settings field into a text editor like Notepad, and saving it on your local computer.
__________________
My Montezuma-themed sites: ESHS Girls Basketball Team, Venice Hongwanji Buddhist Temple
Please consider making a donation to BytesForAll for their great themes!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Montezuma - showing off rosetrees Montezuma Theme 120 May 30, 2016 05:09 AM
Montezuma 1.2.2 now available juggledad New Versions & Updates 0 Mar 27, 2014 03:07 PM
Montezuma 1.1.4 released Flynn New Versions & Updates 4 Apr 1, 2013 07:23 AM
wp-voting & montezuma tdhz77 Montezuma Theme 6 Mar 31, 2013 12:51 PM
[SOLVED] Montezuma 2.0 for WP 3.x delware99 Other BFA WordPress Themes 2 Jan 20, 2011 02:33 PM


All times are GMT -6. The time now is 10:37 AM.


Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.