Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Sidebars from two sides + centered text (http://forum.bytesforall.com/showthread.php?t=20517)

Daivanas Jun 18, 2013 08:13 AM

Sidebars from two sides + centered text
 
Hi, so basically i need to add sidebar to the left side with option to add widgets + i need to center the text. I am adding a picture.
http://img546.imageshack.us/img546/2893/9piy.jpg

CrouchingBruin Jun 18, 2013 09:59 AM

From your dashboard, go to Appearances > Montezuma Options. Read the documentation under Main Templates. Then look at the index.php, single.php, and page.php options and you'll see how the right sidebar was inserted. From that, you should be able to figure out how to add a left sidebar. Just make sure to set the class IDs in columns within the same "row" DIV so they add up to 12 (as noted in the documentation under CSS Settings > Editing CSS).

jerryc Jun 18, 2013 10:57 AM

Here's a post by Juggledad that shows how to put a sidebar in the left side.

To center your text, in your template or your css file, for the center div use

Code:

text-align:center;

Daivanas Jun 18, 2013 01:42 PM

Thanks now i made 3 columns, but i still have this problem with the text. If i don't use any widgets i can't get centered text. I mean i can use formating like in the example but the text is still a little bit left from the search.
Maybe the problem is with a search now then i added widgets from left and right text stays in the center but the search is in the far right. I used these parameters in css to put search in the center, maybe i should change these?
Code:

input#s {
  width:340px;
  border:1px solid #c12811;
  height:30px;
  font-size 26px;
  display: table;
  margin: 0 auto;
 
}
#searchsubmit {
  width:100px;
  height:30px;
  font-size 30px;
  margin-left:auto;
  margin-right:auto;
  display: table;
  margin: 0 auto;
}

Is it hard to make my search to look something like http://www.scamtrends.com/ ?

CrouchingBruin Jun 18, 2013 02:49 PM

What is the URL (address) of your site? It would be easier for us to see what's going on.

If you want your search field to look like Scam Trends, you can create another col12 div inside its own row div that is above the row div which contains your content and sidebars.

Daivanas Jun 18, 2013 03:19 PM

Sorry the page is in maintenance mode i don't launch it yet. i can post a screen how it looks http://img542.imageshack.us/img542/7807/jx1p.jpg

jerryc Jun 18, 2013 03:34 PM

It looks like you're using a different grid layout for the text than you are for the "torch it" piece above.

I can't tell for sure if your text is a little off from center or not, but it's certainly being aligned from center. Use firebug (search google or this forum) and see if you don't have different padding or margins on the left or right of that div.


All times are GMT -6. The time now is 05:59 AM.

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