Forum Replies Created
-
AuthorPosts
-
frankieMember
Hi
Yes this was very fiddly to find and I have added this to the CSS customisation:
.page .site-inner::before {
width: 0px;
}Not sure if this is the 100% correct way to edit this but it worked on my site!
Thanks
frankieMemberHi
Yes I found this very tricky to resolve - on other StudioPress themes I have found editing the logo size fairly simple but this theme seems different. I cannot quite remember how I sorted this out but it was not perfect. In the css code you have shown try increasing the height: to the height you require.Here is my code:
.header-image .title-area {
height: 94px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
padding: 0;
width: 230px;
}Which seems to have worked.
January 26, 2017 at 6:54 am in reply to: Automatically assign a custom sidebar to a category #200061frankieMemberGreat that works perfectly and thanks for the extra suggestion, Brad.
January 25, 2017 at 7:38 am in reply to: Code to automatically assign a custom sidebar to posts #199999frankieMemberOops! Thanks Victor, will do.
January 25, 2017 at 4:54 am in reply to: Code to automatically assign a custom sidebar to posts #199984frankieMemberHi
I wonder if someone is able to check that I have set up this code correctly please as I am not confident working with php and the functions.php file?!
We have a large site with multiple custom sidebars using Simple Sidebars. But now we need to change a sidebar for one category only but this category has about 300 posts so I don't want to go through changing these manually! The category has a slug of 'here-now-aircraft' and the sidebar we need to allocate is 'hn-aircraft'.Based on the code from the Sept 13 Post I created the following. Will this work so that it retains all the current sidebars, but allocates one specific sidebar to the category defined:
----------
add_action( 'genesis_before_sidebar_widget_area', 'themeprefix_remove_sidebar' ); // starts the ball rolling
function themeprefix_remove_sidebar() {
if ( is_category( 'here-now-aircraft' ) ) { // set your connditionals here
remove_action( 'genesis_sidebar', 'ss_do_sidebar' ); // removes Simple Sidebar
remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); // removes Genesis Default sidebar
add_action( 'genesis_sidebar', 'themeprefix_add_sidebar' ); // adds alternative sidebar in function below
}
}// Alternative Sidebar
function themeprefix_add_sidebar() {
dynamic_sidebar( 'hn-aircraft' ); // add in the ID of the sidebar you want to replace it with
}------
Many thanks
frankieMemberOH YES!!
Victor you are a total STAR! Many thanks for the great support and spotting your "Whoops"!Thanks
FrancisfrankieMemberHi
Thanks for that which reads as if it should work fine. BUT for some reason it does not seem to work so there must be some conflict elsewhere in the system which I cannot find!
Thanks for your support though!frankieMemberHi Christoph
Huge thanks for the tip!
It was very nearly correct; I had to add your suggested code to this rather than your suggestion:
.genesis-nav-menu .sub-menu {
background-color: #376c90;
left: -9999px;
opacity: 0;
position: absolute;
z-index: 1;
margin: 0px;
}Works perfectly so many thanks again!
frankieMemberWell I have amended the height of the Front Page 1 widget within the style-front.css file by adding: height:570px !important (see below)
.front-page-1 {
display: table;
margin-top: 0px;
overflow: hidden;
table-layout: fixed;
width: 100%;
height: 570px !important;
}I don't know if this is the proper way to do it but it has worked to reduce the height of this image.
April 4, 2016 at 5:02 am in reply to: Digital Pro theme – drop down menu not showing correctly on the Home page #182861frankieMemberHi Victor
You are a STAR!! That sorted it perfectly many thanks.frankieMemberQuite agree. For normally such a good solid company the communication has been terrible; unless I am mistaken there has not yet been an Official Post on these forums to explain what is going on?
I have probably 15 sites out there using Genesis and thankfully none on auto-update otherwise chaos would have ensued.
Come on StudioPress wake up!December 17, 2015 at 5:02 am in reply to: Full Width Template not working after Genesis upgrade #174034frankieMemberHi
There are a few Posts on this subject but this is the clunky solution.Basically:
Advice from StudioPress’s Facebook page…
If you’re having the layout issue with 2.2.4, change the following line in lib/functions/layout.php (line 343) to this:$post_id = is_home() ? get_option( ‘page_for_posts’ ) : null;
So, you have to go into the core Genesis files and edit the code as detailed above.
I have several Genesis websites so I'm not going to update Genesis on those until they get a fix sorted.December 17, 2015 at 2:17 am in reply to: Full Width Template not working after Genesis upgrade #174023frankieMemberOK, I found the solution in another Forum but wow this is SO unlike Genesis! What is happening that we have to go and edit core framework files to make something that basic work properly?
-
AuthorPosts