Forum Replies Created
-
AuthorPosts
-
sangfroidwebParticipant
Hi there!
On line 1997 of the stylesheet, the color for the menu toggle button is set to white (#fff). You just need to change the color declaration to something darker that shows up against the white background. Here is the CSS from line 1997:
@media only screen and (max-width: 860px) {
.menu-toggle, .sub-menu-toggle {
background-color: transparent;
border-width: 0;
color: #fff;
display: block;
margin: 0 auto;
overflow: hidden;
text-align: center;
visibility: visible;
}
}Change where it says "color: #fff;" to something darker like "color: #0f0f0f;" (or whatever color you like).
Hope this helps!
Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantGreat! You're welcome! 🙂
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi there!
Check the CSS you pasted in....it looks like you may have a syntax error. It looks like there is a comma when there should be a semi-colon. I'm seeing the following CSS in your code:.entry-content a {
color: #7e0000,font-weight:bold;
}...which should be....
.entry-content a {
color: #7e0000;
font-weight:bold;
}Try correcting that syntax and see if that takes care of it. Let me know if not and we'll help you get sorted.
Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi Lukas,
Do you have a link where we could look at it? Your CSS looks ok, but it is possible that something else is superseding your declaration. If we can take a look at the page, then we should be able to see what the issue is.Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
October 30, 2017 at 6:24 am in reply to: Change body text font size and colour in Studio Pro #213076sangfroidwebParticipantHi there! To change the color of the text, change the color in the 'body' declaration which starts at line 324 of the stylesheet.
Change where is says "color: #85889b;" to something darker like 'color: #000000;' (this is the hex code for black). You can change this to whatever hex code you want the base color of the text to be. Here is a reference for hex codes https://www.w3schools.com/colors/colors_picker.asp
To change the default font size, change the font size in the stylesheet declaration on line 321 of the stylesheet which is:
body > div {
font-size: 16px;
}Just increase to something bigger like...
body > div {
font-size: 18px;
}You can experiment with these values until you get the size and color you want.
Hope this helps!Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi there!
You may have already done this, but double-check the slider settings by going to "Genesis" in the left column, then "Slider Settings" and make sure the "Maximum Slider Width (in pixels)" and the "Maximum Slider Height (in pixels)" fields are set to 1140 X 350 so it will crop the images to the full size. It looks to me like the width is set to 920px based on the file name of the custom image generated by the slider --- http://redlineautomotivegroup.com/wp-content/uploads/2017/09/equityAdvantage-1-920x350.jpgAfter changing the slider settings to the height and width you want, you'll need to re-upload the images so they will be cropped to the correct size....or alternatively, you may also be able to use a plugin to regenerate thumbnails if you have one of those installed, but it's usually fastest to just re-upload.
Let me know if this was the issue, and if not, maybe we can help figure it out.
Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
October 1, 2017 at 8:47 pm in reply to: Genesis Slider in Sidebar Changes Size on Last Slide #212071sangfroidwebParticipantAwesome..You're welcome! 🙂
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
September 28, 2017 at 6:18 pm in reply to: Genesis Slider in Sidebar Changes Size on Last Slide #211982sangfroidwebParticipantHi!
The list-items in the slider and the slider navigation are inheriting a border and some paddings/margins from the CSS that is intended for "regular" list items in the sidebar.This is the CSS on line 1683 which gives all list-items in the sidebar a border on the bottom (the lines you are seeing) as well as bottom margin and padding (the reason you see multiple lines)
.after-entry li,.sidebar li {
border-bottom:1px dotted #ddd;
margin-bottom:10px;
padding-bottom:10px;
}The reason that the last slide appears to shorten up is that there is a declaration to make the bottom margin 0px on any list-item "last child" located within a widget on line 887:
.widget p:last-child,.widget ul > li:last-child,.widget-area .widget:last-of-type {
margin-bottom:0;
}To prevent these rules from cascading down to the list-items in the Genesis Responsive Slider, we just need to put in CSS to override it and prevent the margin, padding and border from being applied. This should do the trick:
.sidebar #genesis-responsive-slider li {
border-bottom:none;
margin-bottom:0px;
padding-bottom:0px;
}Hope this helps!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantI'm looking at the code and I don't really follow the flow of it clearly for your case, however did you consider using the "short circuit" version of the filter instead of the output version? The The genesis_markup function runs that filter pretty much right out of the gate, and a false should prevent the return of anything:
//* Short circuit filter
$pre = apply_filters( "genesis_markup_{$args['context']}", false, $args );
if ( false !== $pre )
return $pre;So maybe try:
add_filter( 'genesis_markup_content-sidebar-wrap', '__return_false' );
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantEverything looks good to me. I'm not sure if it would make a difference but have you tried adding a late priority.. like:
add_filter( 'genesis_markup_content-sidebar-wrap_output', '__return_false', 99 );
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
September 27, 2017 at 11:35 am in reply to: Genesis Slider in Sidebar Changes Size on Last Slide #211931sangfroidwebParticipantCould you enable it on one test page using Jetpack Visibility or similar so we can take a look? I think we'd have to see it to be able to offer anything other than guesses. 🙂
Thanks!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi there!
There is CSS in the theme stylesheet at line 610 and 619 that adds the border to the tbody and td elements globally, which creating the borders on the footer. This is default styling for all tbody and td elements. The best way to override it would be to override the CSS with a more specific rule governing that table in the footer. There are other options such as to not use a table in that area and use the Genesis Column Classes to create the columns, etc., but here is the info on just overriding the CSS to fix the problem.This is the current CSS at line 610 and 619 causing the borders:
tbody {
border-bottom: 1px solid #eee;
}
td {
border-top: 1px solid #eee;
padding: 6px;
}This is an example of rules you could add to the CSS to override it in the footer:
.site-footer tbody {
border-bottom:none;
}
.site-footer td {
border-top:none;
}This will leave the default styling in place for other tables in use on the site (in the page content for example), but will remove the borders on the table in the site footer.
Hope that helps!
Liz
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
November 20, 2015 at 4:50 pm in reply to: Genesis Responsive Slider – Sort slides by menu order? #171682sangfroidwebParticipantFYI, for anyone using this plugin as a solution.... It appears to force all queries to menu_order, which isn't good if you want your blog feed to remain sorted by date. It has the ability to "Hide" the sort feature for each post type, however it's not clear if that means it doesn't use menu_order for those queries... or just hides the ability to re-order them. In any case I tested just hiding the feature for posts, and date order appears to be preserved. Whether it's because the query falls back to date if no menu_order is present, or because they don't override the default query order I can't say... but as long as you don't set a menu_order.. it seems to be safe fix. Though... I'd rather just see Genesis Responsive Slider include a sort option for menu_order....
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
November 20, 2015 at 4:34 pm in reply to: Genesis Responsive Slider – Sort slides by menu order? #171680sangfroidwebParticipantDave,
Great suggestion. The I had seen seemed to merely add a menu_order, which did no good for date sorting... I installed this one and it seems to do the trick, when combined with Genesis Responsive Slider. Thanks!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantThanks for the post, Porter. But that seems to be for ordering the widgets in the dashboard. I'm talking about ordering the widgetized sidebars when you go to "Appearance" / "Widgets".
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantIn case this helps anyone else in the future.... I did some digging into the breadcrumb class and found a solution in the get_post_crumb function of the breadcrumb class. When the heirarchial_categories arg is set to true (default) the developers included support for a plugin: sCategory Permalink plugin (mentioned by moderator wpsmith, above) however that plugin hasn't been updated in 6 years, so I'm avoiding like the plague. The developers still have the support in the class though, so we can use that. Basically it checks the post meta for the meta_key "_category_permalink", which from the code I can tell contains the ID of a preferred category. Now that I knew that, I had 2 choices.. go through and create a meta value for each and every post... *yuk* or find a way to filter get_post_meta the return value of the get_post_meta function, which the get_post_crumb function uses to find out if that meta_value is set. Luckily WordPress has a filter we can use, get_post_metadata. So now if anyone comes knocking, looking for that meta_key in any post.. we can return what we want. Here's the function I put together:
// Filter breadcrumb category preference
add_filter('get_post_metadata', 'preferred_category', true, 4);
function preferred_category($metadata, $object_id, $meta_key, $single){global $post;
// is a value for our target meta_key being sought?
if($meta_key == '_category_permalink'){// If the current post is checked with our preferred category, return that categoy's ID as the metadata
if( in_category( 5 , $post ) ){
$metadata = 5;
}}
return $metadata;
}
You just need to set the category ID to your preferred category id ( 5 for me in the example above ).
It seems to be working. The only caveat is, if the developers decide to dump support for that meta_key, since the original plugin which was the impetus for it's use seems to have been orphaned... this code will no longer work. So dear developers.. if you notice this post. Don't discontinue support for _category_permalink. Thanks!
I hope this helps anyone else looking for a default breadcrumb category!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi!,
Susan points to the breadcrumb snippets page for this, but that page doesn't address the original poster's issue, which is my issue now. I guess this post is a few years old, so the snippet page may have had a solution previously, but unless I'm missing something, I don't see any mention of a way to set a preferred category.... or am I missing something?
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantHi Magz!
The pink area on the home page is the height of all the objects inside of it plus all of the padding and margins associated with those objects.I noticed that in the Text Widget that is currently in that home page widget area (the pink area), there is an extra line break and empty paragraph at the bottom that is adding some of the extra space in the bottom of the pink area. If you remove those, the pink area should be about the size you were hoping for without the extra space at the bottom.
Go to "Appearance", "Widgets" in the WordPress admin and look for that Text widget in the corresponding home page widget area. Delete the extra break and paragraph found at the bottom of the content of the text widget.
If you don't see an extra break tag or paragraph tag in the widget, there may just be extra empty lines at the bottom of the text widget. In that case, try deleting any extra empty lines and spaces found at the end of the text widget.
I hope this helps!
Liz 🙂
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantNick,
Allrighty!... glad to know I'm not crazy. I really appreciate you taking the time to explain that to me. Thanks!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
sangfroidwebParticipantkdeaton,
In case you didn't find this already.. and if this applies to your issue at all. I found this. Easy fix!As always.... Geneis is awesome!
Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂
-
AuthorPosts