- This topic has 235 replies, 57 voices, and was last updated 8 years, 2 months ago by
argosmedia.
-
AuthorPosts
-
August 19, 2015 at 9:43 am #130614
Tom
Lead DeveloperLead DeveloperWould something like this work?
.main-navigation { border-radius: 10px 10px 0px 0px; -moz-border-radius: 10px 10px 0px 0px; -webkit-border-radius: 10px 10px 0px 0px; padding-left: 10px; padding-right: 10px; }August 19, 2015 at 9:53 am #130615Mouring Kolhoff
Hi Tom,
Thanks for the quick response
I Tried that as well, quickly added it again to the site and it gives the following

I tried several css tricks, but none worked, then I started to dig into the code, and the solution I found was a seperate container for the menu.
August 19, 2015 at 9:56 am #130616Tom
Lead DeveloperLead DeveloperAny chance I can get a link to the site while it looks like that? I should be able to come up with some CSS then 🙂
August 19, 2015 at 10:10 am #130640Mouring Kolhoff
Unfortunately not as I tend to develop locally.
But the site is currently just basic generate press, with some changes to color and spacing and only the changes I showed in an earlier post. (modified navigation.php and added css) so it should be easy to replicate, or your proposed css without modified files. otherwise it is almost a vanilla setup.
August 19, 2015 at 12:36 pm #130675Tom
Lead DeveloperLead DeveloperHmm okay, well there is a way to edit the HTML of the navigation without touching core files.
Here’s the function: https://gist.github.com/generatepress/f65787230423f2ec770f
Add that to your child theme, and make your edits.
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
That should do it 🙂
August 19, 2015 at 10:04 pm #130751Mouring Kolhoff
Thanks Tom,
That will work for me. customer will be happy now. 😉
August 19, 2015 at 11:45 pm #130784Tom
Lead DeveloperLead DeveloperPerfect 🙂
August 19, 2015 at 11:52 pm #130793Richard Bland
Tom, how do I stop receiving notifications from this thread? Cheers
August 19, 2015 at 11:53 pm #130794Tom
Lead DeveloperLead DeveloperWish bbPress had a better option. When replying to this topic, uncheck the checkbox that asks you if you want notifications.
August 24, 2015 at 9:40 am #131720Adam Zátopek
Hi Tom,
I have maybe good idea.
What do you think about this library
Animate.css
Look at this.
Its good idea to add to GP css in default, because there are enough animation styles controllable using by classes. You could test it, but for more flexible theme in my opinion its good idea.
What do you think? 🙂
AdamAugust 24, 2015 at 10:28 am #131738Tom
Lead DeveloperLead DeveloperHi Adam,
Definitely a cool library, but in an effort to keep GP lightweight and simple we keep away from including libraries like this by default.
However, you can totally include it using a child theme.
Alternatively, it looks like this plugin includes it for you: https://wordpress.org/plugins/animate-it/
Thanks! 🙂
August 28, 2015 at 11:38 am #132681MICHAEL HOLLAND
Hi Tom…
Definitely love the landing page idea, but maybe even take it further to be able to create nice sales pages. I would especially like a robust drag-n-drop table creation module that could be integrated. This way, whether I’m creating a landing page or sales page I can quickly do things like having side-by-side elements – text beside video, image beside video, image beside image, etc. I’d also like to be able to do things like created multi-package comparison tables (eg. bronze vs silver vs gold). If you check out a product such as wpprofitbuilder.com that might provide some visual ideas as well.
Thanks
MichaelAugust 28, 2015 at 11:53 pm #132830Tom
Lead DeveloperLead DeveloperHi Michael,
Would definitely be pretty cool. Page builders in my experience are pretty bulky (not exactly lightweight). Would be cool to build a super slimmed down version 🙂
September 2, 2015 at 2:51 pm #133904MICHAEL HOLLAND
Hi Tom…yeah, a slimmed down version would be fine. One of the great features in Generate Press is Sections. But I’ve found is that when working with table plugins and code, it’s tough to keep content in multi columns and rows aligned and stable.
As an example, I’m using simple div coding or a TablePress plugin in multiple areas of my site. In the case where I’m using div coding, I’ve put a contact form beside a video. I’ve gotten it to work, but any time I edit the page, the div coding gets mangled and I have to reset it again, or else the form won’t display.
And where I’ve used the TablePress plugin to create a table to accommodate multiple columns and rows, they aren’t quite even. You have to play around to get things looking decent.
So that’s why it would be a lot easier if there was a complementary drag n drop module that could handle things like this without worry.
Thanks and keep up the great work!
September 2, 2015 at 11:44 pm #133972Tom
Lead DeveloperLead DeveloperUsually, if you’re using valid HTML and not leaving any empty tags, your coding won’t get mangled in the editor.
As for using TablePress – you should only be using HTML tables for tabular data.
If you want columns, you can try a plugin like this: https://wordpress.org/plugins/lightweight-grid-columns/
-
AuthorPosts
- You must be logged in to reply to this topic.