PDA

View Full Version : A little more help? Can't left-justify the pop-ups.


Char
01-24-2010, 04:11 PM
Thanks again for the setup help!

I've almost got it, but I can't figure out how to left-justify the pop-ups.

I found a thread that said the table must be set to left in an "include" file, but I haven't had any luck finding that file.

I did try installing the tinymce editor, but it doesn't have any effect on the justification.

Thanks!

ve9gra
01-24-2010, 04:32 PM
Do you have a link that shows what you're experiencing?

Char
01-24-2010, 04:58 PM
Here's a link to a test page. Thanks for the help!

http://iwga.org/testsite/index.php?page_id=12

Brian
01-24-2010, 08:58 PM
Can you tell us a month that has events? I poked around a bit but didn't see anything.

Char
01-24-2010, 09:15 PM
Sorry about that...

Brian
01-24-2010, 09:29 PM
In your CSS you have this which is telling everything to center:

.calendar-heading {
height:25px;
text-align:center;
border:4px solid #006600;
background-color:#E4EBE3;
}

Char
01-24-2010, 09:41 PM
I'm really sorry that I don't more about this and you're having to pay the price...

However...

I don't know where the css file is that you're referring to. I found to style.css files, neither of which has the .calender section

Help one more time???

Brian
01-24-2010, 09:43 PM
It's embedded in the code of your page (it's not part of the calendar code).

Char
01-24-2010, 10:16 PM
I'm so sorry, but I have no clue what page your're talking about or where to find it and edit it.

I've downloaded and looked at just about anything that has css in it and don't find what you're talking about.

I am using the "goofy" altlhualpa 3.4.4 theme that you helped me get the calendar to work on if that helps. I get that it's a setting in the theme that's wrecking the calendar, I just don't know enough about where to look to fix it.

One more time???

Char
01-24-2010, 10:54 PM
I see where you foun the problem in the source code.

I assume something in the wordpress theme generates the page and hence the problem. So far I haven't had any luck figuring which file needs to be edited...

ve9gra
01-25-2010, 07:49 AM
Brian and I are different people ;)

The offending code is actually on the body element. The .calendar-heading that Brian found is not actually used on the page, so there's no impact.

I'm pretty sure that it is the CSS that Atahualpa generates, but I think it may be on-the-fly, so you won't be able to simply edit a file to change it. I found it in the very long string just after the nicely formatted CSS...

body {
text-align:center;
margin:0;
padding:0;
font-family:tahoma,arial,sans-serif;
font-size:0.8em;
color:#000000;
background:#003300;
}

I'm pretty sure that this is edited directly from the Atahualpa's settings page, but since I don't have access to my dev machine right now, I can't confirm. I'll look into it when I get home this evening.

ve9gra
01-25-2010, 05:42 PM
Alright, found it!

Open the file wp-content/themes/atahualpa345/css.php

On line 38, you'll find "text-align: center;". Change it to "left" and it fixes the popups. I did a quick check around the rest of the site and it doesn't seem to affect anything else in the layout. The comment in the file states that it's done to center the layout, but I'm pretty sure that as long as you don't change the layout width from the default 99% you shouldn't see any issues. It's only if you were to set a fixed width that is smaller than the browser window... then you'd probably see the layout left aligned.

Char
01-25-2010, 09:34 PM
Wow...I don't know how I would have ever found that on my own!

Thanks again...will be purchasing shortly!

Char

Char
01-25-2010, 09:58 PM
Just an FYI...

Your secure purchase site refused my credit card and the paypal site took it fine

Just thought you might want to know...

Thanks again!