Community Forums › Forums › Archived Forums › Design Tips and Tricks › enterprise pro 4 col widget footer
Tagged: Enterprise Pro, footer 4 col, widgets
- This topic has 10 replies, 3 voices, and was last updated 9 years, 5 months ago by alexadark.
-
AuthorPosts
-
November 2, 2014 at 2:25 pm #130210alexadarkMember
Hi,
http://www.tabac.webstantly.com/
i'm trying to have 4 col footer, normally i have already done it builidng custom theme with the sample theme
so i had that in the functions.php
add_theme_support( 'genesis-footer-widgets', 4 );
and make it responsive (i use sass with susy grid)
but what happens in this case (with the sample theme no problem) is the last widget is outside the wrap and i don't know why, but it messed up everything
http://www.tabac.webstantly.com/November 2, 2014 at 8:20 pm #130234Genesis DeveloperMemberI think that this will help you http://genesisdeveloper.me/create-4-columns-footer-widget-area/
November 3, 2014 at 1:51 am #130249alexadarkMemberThank you genrock,
but that's already what i do (a part the css because i use sass susy grid, but that's not the problem)
the problem is specific to enterprise pro.
here is another website i have done with genesis (custom from the sample theme)
http://www.docline.webstantly.com, as you can see no problem with the 4 col footer.
if you look at the code you see that:<div class="footer-widgets"> <div class="wrap"> <div class="footer-widgets-1 widget-area"> <div class="footer-widgets-2 widget-area"> <div class="footer-widgets-3 widget-area"> <div class="footer-widgets-4 widget-area"> </div> </div>
Now on my website done with enterprise pro : http://www.tabac.webstantly.com/
if you look at the code of the footer widgets you will see that:<div class="footer-widgets"> <div class="wrap"> <div class="footer-widgets-1 widget-area"> <div class="footer-widgets-2 widget-area"> <div class="footer-widgets-3 widget-area"> </div> <div class="footer-widgets-4 widget-area"> </div> </div>
the fourth widget area still outside the wrap div, and that messed everything.
I have used the same code
add_theme_support( 'genesis-footer-widgets', 4 );
on both sites, that's why i really don't understand what is hapenningNovember 3, 2014 at 2:27 am #130250Genesis DeveloperMemberI saw that before. There have HTML markup problem. One div is not open/close properly. You need to check your file thoroughly and also you'll check the widget if you're using Text widget
November 3, 2014 at 2:31 am #130252alexadarkMemberThanks,
but has genesis-footer-widgets seems to be a genesis function i don't know where to check that.
if it was outside genesis i will have no problem to modify it (i use also underscore as starter theme) as i can see the html markup, but here o don't know from where this markup is generated so i don't know where to fix it, that's the problem 🙁If i cannot find the solution, i'm thinking to delete this widgets area, and create new one myself, but i'm sure somebody has already have this issue and know how to fix it
November 3, 2014 at 4:10 am #130261Sridhar KatakamParticipantI just tested this in a fresh install of Enterprise Pro 2.1.1 and do not find the issue.
https://www.dropbox.com/s/ns8tipi2f4sg9s9/Screenshot%202014-11-03%2021.07.39.png?dl=0
I've added the CSS here.
November 3, 2014 at 4:14 am #130262alexadarkMemberStrange,
i have also tried it on another install of enterprise pro, and same problem
perhaps the theme has been updated in between, but as i have made lot of customisations i cannot update it, so i think i will delete this function and register my own footer widgets areas, it will be simpler
For css i prefer to use sass and susy grid, you should try susy is great and you write lessNovember 3, 2014 at 4:18 am #130264Sridhar KatakamParticipantsass, Git, Beantalk, Grunt, and now susy grid... so many things to learn, so little time.
November 3, 2014 at 4:22 am #130265alexadarkMemberAh ah ah, i'm in the same, and you are more advanced than me!
i have to look at all your genesis tutorials to really master genesis, i'm also studying deeply woocommerce customisation , to build plugins...what else...never ending story, but i love it.
I have let grunt as i can use codekit and it's really simpler 🙂But sass and susy it's really great! http://www.zell-weekeat.com/learnsusy/
November 3, 2014 at 11:40 am #130315alexadarkMemberThe thing is i have begin this site with version 2.1 of enterprise pro, and not 2.1.1, and i really thing there is a bug in 2.1, as i try the same on a site i've done with it but with no customisations (only some css colors) and have the same problem
The problem is that site is totally customised so i cannot update to 2.1.1
i thought that child theme are never updated
i think i need somebody from studiopress to tell me what are the modifications in 2.1.1 to correct the bug.I have also tryed to register my own widgets areas, and same problem!
November 3, 2014 at 1:39 pm #130328alexadarkMemberFYI it was because of a plugin!
after checking all the files of my version and new version, i know it cannot be in the theme, then i deactivated all plugins (then the footer was ok), and then reactivated one by one...but it works too, so i don't know which is guilty! -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.