Zen Follower
- Join Date:
- Mar 2011
- Posts:
- 386
- Plugin Contributions:
- 0
Views: 22,548
Zen Follower
Zen Follower
Hey I noticed that at the bottom the credit card images are gone. Is there a way to add that back on? I think leaving it at the bottom is good as it clears up real estate from having to put it in a sidebox.
Black Belt
Do you want the cc images below the footer columns (in the white area), or in empty space in the column area?
For the white area, add the cc image code to tpl_footer.php the same as you had it before (probably).
For cc images in a column, define them as a "comment" to one or two of the links, per the directions in the readme.
Totally Zenned
ver 1.3.9h
Just installed and confirmed all 6 files are there and dated 5/21/11
But there is no footer menu added to bottom of site. Ezpages enable footer set to 1, but nothing?
UPDATE: I figured it out. Forgot to create the menu link in Ezpage settings
Totally Zenned
ver 1.3.9h
On my footer how can I center so the top row shifts to the left?
AND, how can I continue to make a Second and third row?
Zen Follower
kevinmc3:
ver 1.3.9h
On my footer how can I center so the top row shifts to the left?
AND, how can I continue to make a Second and third row?
Hey guy, This is what I used to figure stuff like that out. Download the Firefox plugin Firebug and look at the css and play with it. It will make real time changes on your screen so you can see what it looks like and then you can make the real changes your self.
If you need more help let me know.
Totally Zenned
Thanks but I am NOT a programmer and am just looking for the specific edits I need to make for centering the footer menus and also to add a 2nd and 3rd row or continue adding links.
So hoping the Mod author can add his expertise here.
Black Belt
You have this rule in one of your stylesheets (probably your main stylesheet.css, but I can't tell for sure since you have them minified which removes all formatting and comments and mashes them all together):
#navSupp ul{color:#fff;text-decoration:none;position:absolute;top:7px;float:left;margin:auto 0 auto 250px;padding-top:0;padding-bottom:0;padding-left:0;white-space:nowrap}
This gives a 250px left margin. You have a lot of non-standard rules in that area which seem to have come from some other mod, unless you actually wrote them all specifically for something. Some of these rules are overriding the Ezpages Footer Column style rules.
You say "add a 2nd and 3rd row"... do you mean add a 2nd and 3rd column?
What are the sort orders (for the footer) on your ez-pages? They are all in .col1, which means they all start with 1. If you want them in separate columns, you have to start them with different numbers, as the readme describes. The links are displaying in a row instead of a column because one of the other rules overrides this mod's rule about the layout.
#navSupp ul li{text-align:left;float:left;margin-left:0;padding-left:0;display:inline}
#navSupp ul li a, #navCatTabs ul li a{text-decoration:none;padding:0 0.5em;margin:0;color:#fff;text-align:left;white-space:nowrap}
Black Belt
This rule, probably at the bottom of your stylesheet.css, has an error that causes CSS to ignore all following rules (all of the stylesheet_ezpages_footer_columns.css rules).
#paypaldp-cc-ownerf,#paypaldp-cc-ownerl,#paypaldp-cc-number,#paypaldp-cc-expires-month,#paypaldp-cc-expires-year,#paypaldp-cc-cvv
{font-size:14px;{
Change that to } . This will most likely let the footer columns rules overide the other rules mentioned above.
Totally Zenned
Thanks for responding.
Re: "but I can't tell for sure since you have them minified which removes all formatting and comments and mashes them all together"
I am not sure what you are referring to..??
Re: "You say "add a 2nd and 3rd row"... do you mean add a 2nd and 3rd column?"
No, I mean actually continung with adding more menu links that will continue to a second row, 3rd row , etc.....like the bottom of this site:
http://www.cinemasterpieces.com/
It would be easier than having to create Sub-mini menus as described in the read me.
gjh42:
You have this rule in one of your stylesheets (probably your main stylesheet.css, but I can't tell for sure since you have them minified which removes all formatting and comments and mashes them all together):
#navSupp ul{color:#fff;text-decoration:none;position:absolute;top:7px;float:left;margin:auto 0 auto 250px;padding-top:0;padding-bottom:0;padding-left:0;white-space:nowrap}
This gives a 250px left margin. You have a lot of non-standard rules in that area which seem to have come from some other mod, unless you actually wrote them all specifically for something. Some of these rules are overriding the Ezpages Footer Column style rules.
You say "add a 2nd and 3rd row"... do you mean add a 2nd and 3rd column?
What are the sort orders (for the footer) on your ez-pages? They are all in .col1, which means they all start with 1. If you want them in separate columns, you have to start them with different numbers, as the readme describes. The links are displaying in a row instead of a column because one of the other rules overrides this mod's rule about the layout.#navSupp ul li{text-align:left;float:left;margin-left:0;padding-left:0;display:inline}
#navSupp ul li a, #navCatTabs ul li a{text-decoration:none;padding:0 0.5em;margin:0;color:#fff;text-align:left;white-space:nowrap}
Black Belt
Obviously you didn't do the "minify" (google it) code compaction deliberately. The function must have been in your template, or something else you installed.
What you are describing with "add a 2nd and 3rd row" is the ordinary result of putting a lot of ez-page footer links into the stock template, and does not require any mods at all.
Black Belt
"It would be easier than having to create Sub-mini menus as described in the read me." ?? If by sub-mini menus you mean additional columns, all that is needed is to keep track and give the right footer sort orders to ez-pages when you edit them. If you mean something else, I'm not sure what you are talking about.
New Zenner
Hey gjh42,
Thanks for the mod, it's made a real difference to my site.
Is there a way that I can add images to the footer as well? I want to have 2 or 3 columns of general links, and then have the far right column as a section for things like my SSL logo, PayPal Verified badge and so on.
Here's what I have so far: https://www.the-ishop.co.uk
Cheers!
Black Belt
To get a new column for holding link graphics, you need to have at least one ez-page link with a sort order set for that column. If you have general links in columns 1xx and 2xx, you need an ez-page with sort order 310 (or 320, etc.) to create the new column. Then add a define to ezpages_footer_columns_defines.php like this:```php
define('EZPAGES_FOOTER_COL_COMMENT_310', '<a href="whatever"><img src="whatever" /></a>');
If you want the original ez-page link hidden, you can use a rule like this in your stylesheet:```
.ezpagesFooterCol.col3 li>a {display: none;}
```This will hide the link directly inside the <li> but not any links in the comment section.
New Zenner
Hi,
I did what you suggested, but it doesn't seem to be working.
Here's what I have at the moment:
define('EZPAGES_FOOTER_COL_HEADING_1', 'Information');
define('EZPAGES_FOOTER_COL_HEADING_2', '');
define('EZPAGES_FOOTER_COL_HEADING_3', 'Connect With Us');
define('EZPAGES_FOOTER_COL_COMMENT_310', '<a href="https://www.facebook.com/the.ishop"><img src="https://www.the-ishop.co.uk/images/footer_facebook.gif" /></a>');
define('EZPAGES_FOOTER_COL_SUBHEAD_xx', 'Your Subheading');
The image's URL works fine, but it doesn't want to show up in the footer.
Any ideas?
Black Belt
And you have an ez-page with a sort order of 310 for the footer, enabled to show in the footer?
Black Belt
Yes you do...
I noticed earlier that your URL rewriting mod causes the link path to sometimes not read the "current page" test correctly, preventing some links from highlighting when on their page. The same thing may be happening with images, as the path may be altered by your rewriter. There was an issue like this with Conor's CEON rewriter a while back, and I believe he tweaked something so his code handled the $_GET['cPath'] method of lookup as well as $cPath. You have a different rewriter, which may be less flexible.
New Zenner
Right, that makes sense..
Is there a way that I can find out how it writes the paths? Or even find out what the path would be for the images?
Perhaps there's some kind of log...
Black Belt
You would have to take that up with the author of your rewriter mod. It's not something anyone else can address.
I can't change my mod's tests to handle unknown URL rewriting methods.
New Zenner
Hi gjh42,
thanks for the great mod.
I have a query regarding inserting an image in the footer. I have read this thread (apologies if I haven't picked up something already covered) and have an image (a facebook icon) appearing in the footer (col1) using this define
define('EZPAGES_FOOTER_COL_COMMENT_15', zen_image(DIR_WS_TEMPLATE . 'images' . '/facebookiconsm.jpg', 'bla bla'));
What I need to do is now hide the title of the EZ page(ID 15). I see that you mention this can be acheived by using .ezpagesFooterCol.col1 a {display: none;}
However, this hides all links in the column, but I have other links in the column that I require to remain visible. How can I just hide the title of EZ Page ID 15 ? See thumb attached pls.
cheers,
adam
Tell staff why this post should be reviewed.