Forum Replies Created
-
AuthorPosts
-
carasmoParticipant
Apparently this forum is doing converting charccters. Look in your CSS file, you'll see either curly apostrophes or the ampersand sign followed by the pound sign and the numbers 039, turn both sets into tickmarks. Make sure the entities around the word Menu are straight up and down marks.
carasmoParticipantWhen you copy html, css, php, or other code and your system turns tick marks
'
Into curly apostrophes or other characters such as
'
turn them back into tick marks.Your CSS:
.responsive-menu-icon::after { content: 'Menu'; display:inline-block; position:relative; top:-5px; }
Turn change the
'
into tick marks
carasmoParticipantIn your theme style.css (Admin >Appearance > Editor) file add the following in the section beginning on line 1150
/* Responsive Menu --------------------------------------------- */
.responsive-menu-icon::after { content: 'Menu'; display: inline-block; position: relative; top: -5px; }
November 6, 2015 at 11:42 am in reply to: Need guidance for correct way to modify single post template #170329carasmoParticipantThat's not how it's done in Genesis. Go through the docs:
http://my.studiopress.com/snippets/entry-content/#add-post-navigation
carasmoParticipantThe css right after what you added is the home page, add the max-width: none;
.full-width-content.parallax-home .content { padding: 0; max-width:none; }
carasmoParticipantIn your theme's styles it's on line 1294:
Current:
.full-width-content .content { padding: 0 200px 50px; width: 100%; }
Change to the following for 700px width (it's 1100 - 400px for left and right padding)
.full-width-content .content { padding: 0 200px 50px; width: 100%; max-width:1100px; /* minus left and right padding of 400 = 700px */ margin-left:auto; margin-right:auto; }
carasmoParticipantThose themes in the showcase are not for sale, they are examples of what others have done. Most are custom, as far as I can tell. They started with no theme and made a custom build.
November 5, 2015 at 1:43 pm in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170257carasmoParticipantOne widget area (register sidebar widget) can contain as many widgets as you want. You would just register it globally, without any page id or category etc., see:
http://my.studiopress.com/tutorials/register-widget-area/
Change the hook to where you want it to post.
Get your Display Widget plugin installed.
November 5, 2015 at 1:06 pm in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170253carasmoParticipantYou can't use the same one over and over again. I doubt a tutorial would go over such a specific need and for something you don't need to do. Simple register ONE sidebar widget area (this is an area to add many widgets) in the location (genesis_entry_footer) you want, load that widget up (drag in what you want to show there) then with the Display Widget or the other Conditional Logic widget show based on some sort of logic. So I have 20 pages, and each page has a widget I want in my entry footer area showing other stuff specific to that category, I load up my 20 widgets in that area and as I load them, while my plugin is turned on, I'll see a select menu (with the Display Widget plugin) to show on or hide on -- use show on and click the page, toggle off the home page and you're gold. Then, though you might have 20 widgets in the area you registered, you will show 1 when you get to that page, and another when you get to another page.
carasmoParticipantNovember 5, 2015 at 11:54 am in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170239carasmoParticipantWhat I don't understand is why you had to use Simple Sidebars in the first place. If your theme didn't have sidebars, you only need to look for its unregister in your functions.php file and comment it out.
unregister_sidebar( 'sidebar' );
Commented out
//unregister_sidebar( 'sidebar' );
Then go to the home page and the pages that don't use a sidebar, click the full width layout. Choose the content-sidebar layout on those pages you do. So globally go in to admin for Genesis, choose the the layout used the most then only on the pages where you use sidebars, those individual pages and posts you'd change. Makes less work.
Back up save etc., before messing with functions.php (I make a duplicate on my local disk for quick stuff and name it functions_bu_date-time.php). Use a decent code editor like Sublime Text (do not use a word processor of any kind to mess with code php/html/css).
November 5, 2015 at 11:46 am in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170236carasmoParticipantThere's many tutorials in the wild for Genesis and registering a new sidebar and where to put it
genesis_before_sidebar_widget_area
(if primary sidebar).I recommend hiring someone if it looks like gibberish:
http://www.pixelfrau.com/genesis-theme-customization/
orThen once you see how it's done for you, you can use it again and again.
It would be overkill to register per category, your functions.php file or include would be very long and too much work to get this done.
The better thing would be to just register a new sidebar globally and use something else, like those other plugins, to show and hide on different pages.
carasmoParticipantI use this and you probably want to match the :hover, so look for that in your theme's css in the color pallet you chose.
.nav-primary a:hover, .nav-primary a.current_page_parent, .nav-primary .current_page_parent > a, .nav-primary .current-menu-item a { color:#fff; /*use the one in the color you chose*/ background: /*use the one in the color you chose*/ }
November 5, 2015 at 10:11 am in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170226carasmoParticipantThere's a plugin called "Widget Logic". Here's a tutorial on using conditional logic to put your sidebar on a page and the category
Link:
http://bradsknutson.com/blog/add-different-sidebar-content-page-wordpress/Conditional Tags:
http://codex.wordpress.org/Conditional_TagsSo if you have the Widget Logic installed, to show a specific widget on all posts in a particular category, you would use the following logic you would adjust to your needs In the field the widget provides.
is_category( array( 9, 'blue-cheese', 'Stinky Cheeses' ) )
Returns true when the category of posts being displayed is either term_ID 9, or slug "blue-cheese", or name "Stinky Cheeses".
November 5, 2015 at 10:00 am in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170224carasmoParticipantThe description for simple sidebars is that it puts the sidebar on the category archive page but not on the individual posts associated with the category. I am assuming that that's what you mean, you want the sidebar to appear on all posts associated with the category or you have pages that are your category pages and they are not archives?
Here's the link to the instructions for simple sidebars and its limitations.
In any case, since the Display Widget does give you the ability to assign widgets per page, post, category, but you are not able to do that, I would suspect that the SImple Sidebar is conflicting with it. I registered new sidebars globally in my functions.php and used Display Widget to not show or show depending on the situation.
Hopefully someone will come along to help.
November 5, 2015 at 8:20 am in reply to: Genesis Simple Sidebars – custom sidebar for CATEGORY PAGE? #170214carasmoParticipantI use this: https://wordpress.org/plugins/display-widgets/
Put your widget where you want as normal. There will be additional fields at the bottom of the panel, toggle "Show on Checked Pages" uncheck "Front" and then scroll down to the category where it will appear, check it and save.
carasmoParticipantcarasmoParticipantcarasmoParticipantThis wonderful plugin (maintained and updated): https://wordpress.org/plugins/genesis-featured-page-advanced/
This allows you to choose any link. I tested it as a time saving alternative to show featured products in Woocommerce in a middle home page widget which I could style and assign a class to so I could use a multiple item slider. It works great. With it, you can mix in producs, pages, posts, and links outside, whatever you want.
I choose in an image in my media library, enter the url to the post/listing and I put in my own custom text. Alternate fields show up upon toggling. Very useful plugin. Shows only one entity. So you would add another after the first. Make the first one have the title "Availability" and the ones following w/o a title for the widget itself.
November 5, 2015 at 5:49 am in reply to: Genesis: Different logo on homepage than interior pages #170199carasmoParticipantThe home page has a specific body class
body.home
you just need to style the logo using CSS specificity just for the home page and the global style for the rest of the site..site-title > a { background-image: url(/wp-content/uploads/...); ... sizes and other styles ... } body.home .site-title > a { ... styles for the home page with a different url ... }
The body.home .site-title > a will inherit styles form the first, but the former won't inherit body.home .site-title styles and so you will just swap the path and the sizes. Make sure you get the mobile media queries too.
-
AuthorPosts