Community Forums › Forums › Archived Forums › Design Tips and Tricks › Column Class- Modern Portfolio home
Tagged: column class, modern portfolio
- This topic has 20 replies, 2 voices, and was last updated 10 years, 1 month ago by magzparmenter.
-
AuthorPosts
-
November 1, 2014 at 5:43 am #130073magzparmenterMember
Hi,
I have been googling around to try to find the answer to one of my other posts which hasn't had any replies.I am trying to make 3 widget areas in the Home-Portfolio area show inline. They are currently showing one above the other.
(About, Inspiration and Blog)Could I use column classes to do this?
If so, what code and where should I put it?
Thanks so much 🙂
My site is http://chasingholy.co.uk
http://chasingholy.co.ukNovember 1, 2014 at 12:13 pm #130102magzparmenterMemberCan anyone help with this, please?
November 1, 2014 at 1:46 pm #130105DTHkellyMemberUse this plugin to add Genesis column classes to each widget.
one-third first
one-third
one-thirdNovember 1, 2014 at 2:02 pm #130106magzparmenterMemberHi Kelly,
Thanks for your help. I already tried that plugin and it didn't work so I'm really stuck.
I'll enable it again and anyone can feel free to have a look what might be going wrong.Thanks again.
November 1, 2014 at 3:58 pm #130114DTHkellyMemberHave you tested for plugin conflicts with Widget CSS Classes? Deactivate all other plugins, see if it works then. If so, reactivate other plugins one by one until it stops working.
Another option would be to shortcode the 3 widgets and in Text (not visual editor) use Genesis Column classes as divs.
https://wordpress.org/plugins/amr-shortcode-any-widget/
<div class="one-third first">[replace this with the shortcoded widget]</div> <div class="one-third"> [replace this with the shortcoded widget]</div> <div class="one-third"> [replace this with the shortcoded widget]</div>
November 1, 2014 at 4:00 pm #130117magzparmenterMemberThanks, I'll try those and see how it goes.
Just one question- what did you mean by text and not visual editor?November 1, 2014 at 4:16 pm #130118DTHkellyMemberNovember 1, 2014 at 4:31 pm #130119magzparmenterMemberOh! Lol!
I thought I'd be doing something in CSS or functions.phpThanks for your help.
Let's hope one of them works!
November 1, 2014 at 4:42 pm #130121magzparmenterMemberI tried to decativate plugins and there is no conflict.
Am trying the shortcode plugin but am struggling a bit to figure out how to use it.
November 1, 2014 at 4:50 pm #130122DTHkellyMemberI used Chrome Inspector to determine the name of the widget I wanted to shortcode. This example works on my site:
[do_widget "Sensei - Course Progress"]
Temporarily put all 3 widgets (that you want to shortcode) in any visible sidebar (like primary sidebar). Then use Firebug, Chrome Inspector, or Inspect Element to determine the name of each widget (in order to use AMR shortcode any widget).
Are you familiar with Firebug, Chrome Inspector, or Inspect Element?
http://www.studiopress.com/tips/using-firebug.htm
https://www.nutsandboltsmedia.com/how-to-customize-your-genesis-child-theme-with-chromes-inspector/http://genesisthemes.co.uk/firebug-chrome-dev-tools-genesis-extender-plugin/
November 1, 2014 at 4:57 pm #130124magzparmenterMemberI use Firebug.
The current widgets are in the Portfolio area of the site. Do I need to move them?
They are Genesis featured page and Genesis featured post widgets.I am still not sure how to actually shortcode them (where do I put the do_widget shortcode?)
November 1, 2014 at 5:04 pm #130125DTHkellyMemberI can't look at your site - clicking on the URL just times out without opening.
Just use Firebug to determine the name of each widget.
Make sure you drag one of each widget into the AMR Widget Area. ADMIN > Appearance > Widgets > Widgets for Shortcodes
The shortcode
[do_widget "Sensei - Course Progress"]
is pasted into the WYSIWYG of the Text Editor (not the Visual Editor) of any page or post that you want these widgets to appear on.<div class="one-third first">[do_widget "Sensei - Course Progress"]</div> <div class="one-third"> [do_widget "Sensei - Course Progress"]</div> <div class="one-third"> [do_widget "Sensei - Course Progress"]</div>
November 1, 2014 at 5:11 pm #130126magzparmenterMemberAh, I think the problem is that I am not wanting these in a page, but in the portfolio area on the homepage.
I am now concerned that you can't load my site now though! Any idea why that might be? I can see it on my tablet, phone and desktop.November 1, 2014 at 5:18 pm #130127DTHkellyMemberAsk your hosting provider to see if they can open your URL.
November 1, 2014 at 5:24 pm #130128magzparmenterMemberI'm not sure what you mean.
The site has been live for a long time, I'm just redesigning it with a new theme.November 1, 2014 at 5:27 pm #130129DTHkellyMemberThese are examples of WordPress Hosting Providers:
http://www.elegantthemes.com/blog/resources/wordpress-hosting-reviewWho are you paying to host the website? Their support techs may be able to figure out why your URL does not open to your site (here in the US).
November 1, 2014 at 5:31 pm #130130magzparmenterMemberI will check that out. It hasn't been a problem for the last year.
Thanks for letting me know.In the mean time...my quest for my inline widgets continues! 😉
November 1, 2014 at 5:43 pm #130133DTHkellyMemberThis article includes a way to add CSS classes without the plugin that is not working for you.
http://www.wpbeginner.com/wp-themes/how-to-add-custom-styles-to-wordpress-widgets/Alternative - a widgetized front-page.php template that puts your 3 widgets in column class divs
Create Custom Page Template With Widgets Like Your Home Page
November 1, 2014 at 6:02 pm #130135magzparmenterMemberThanks again. I'll check them out.
BTW, I asked a few of my friends in the US to see if my site loads and it did for three of them.
Hopefully it was just a glitch for you. But I'll keep checking it every now and then.
November 1, 2014 at 7:00 pm #130136DTHkellyMemberThat is good news - cheers!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.