Your cart is currently empty!
Hi, this worked for me:
.head-bg,
.home-feature-1,
.home-feature-2,
.home-feature-3,
.home-feature-4,
.home-feature-5,
.home-feature-6,
.home-feature-7 {
background-attachment: scroll !important;
-webkit-background-size: cover !important;
-moz-background-size: cover !important;
-o-background-size: cover !important;
background-size: cover !important;
background-repeat: no-repeat !important;
}
Here’s an example of what I’m trying to achieve.
http://stackoverflow.com/questions/2605889/fading-between-images
Instead of just having…
.head-bg {
background-attachment: fixed;
background-image: url("images/home-img-1.jpg");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
I’m trying to have multiple images rotating here.
Thanks Eric. That helped yet will try to learn how to do this without plugins, and post solutions.
SOLVED:
Found this code. Added it to Functions.php, then amended featured image CSS.
// Display Featured Image on Post */
add_action( 'genesis_before_entry', 'featured_post_image', 8 );
function featured_post_image() {
is_singular(array( ‘post’, ‘page’ ));
the_post_thumbnail('post-image');
}
Thanks Kronos. Don’t think I explained this well.
I’ve added a grey nav-menu bar via the header wrap. On localhost so can’t show unfortunately.
While keep the grey nav-menu header, I’m trying to either:
a) stil show the background image from .head-bg
OR
b) make a pages featured image display up under the header, like the squareone demo example
All ideas appreciated, thanks!
For example, trying to show the .head-wrap grey line, with the image coming out underneath it for 140px like the demo. Thanks for any tips.
Site Header
---------------------------------------------------------------------------------------------------- */
.head-bg {
background-attachment: fixed;
background-image: url(images/home-img-1.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.head-wrap {
padding: 0 0 20px;
background-color: #F3F3F3;
border-bottom: 1px solid #ADB2BC;
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
height: 30px;
line-height: 30px;
min-width: 980px;
position: absolute;
top: 0;
width: 100%;
z-index: 100;
}
.site-header {
margin: 0 auto;
max-width: 1140px;
}
.site-header .wrap {
margin: 0 0 14px;
padding: 30px 0 0;
padding: 1.875rem 0 0;
}
.site-header .widget {
color: #fff;
margin: 0 0 20px;
}
Thanks Eric. Not so simple it seems. I’ll report back… cheers!
–
Thanks Eric – definitely need HTML/PHP for that 😉 Found a workaround but will tackle this later. Cheers
Thanks Wez. That Q was for the section that was originally the slider, but I’ve now got left/right widgets.
This code worked:
.home #wrap {
background-color: #FFF
}
Thanks Wez. Added that and changed CSS widths and worked perfectly.
http://www.mikemetcalfe.co and down the bottom
Perfect, thanks Wes
Thanks Wes. Just uploaded changes with background image. http://www.mikemetcalfe.co . Be great if possible!
Problem solved guys – lots of experimenting. Thanks!
Hi Eric & Wisefamily
Perhaps you’ll know this answer and thanks in advance for any prompt help 😉
On my homepage… http://www.mikemetcalfe.co
In the ‘Slider’ widget section (or at least the first widget below the header) I want to create:
a widget for the left side, 65%
a widget for the right side 35%
I’ve tried the steps I listed here: https://appfinite.com/topic/how-to-change-width-of-epik-home-feature-widgets/
But that doesn’t work. Any ideas? Thanks!
Whoops. Spoke to soon. It show while I still had test content in the Slider widget area
When removing that, the new homepage-left and homepage-right widget areas stopped working.
I assume it’s something to do with ‘if’ and ‘echo’ on home.php, but not sure how to fix?
Any experts on this? thks
Thanks Eric! Legend.
Also for future readers… between using this support post:
https://appfinite.com/topic/slider-on-the-left-sidebar-on-the-right-how/
AND
1) editing home.php to create the new widget areas below
/**
* Display widget content for "slider" and "welcome" sections.
*
*/
function epik_home_loop_helper_top() {
genesis_widget_area( 'slider', array(
'before' => '<div id="slider"><div class="slider-inner">',
'after' => '</div></div>',
) );
genesis_widget_area( 'homepage-left', array(
'before' => '<div id="homepage-left"><div class="homepage-left">',
'after' => '</div></div>',
) );
genesis_widget_area( 'homepage-right', array(
'before' => '<div id="homepage-right"><div class="slider-right">',
'after' => '</div></div>',
) );
}
AND
2) Creating the new widget areas in functions.php
genesis_register_sidebar( array(
'id' => 'homepage-left',
'name' => __( 'Homepage Left', 'epik' ),
'description' => __( 'This is the homepage left section.', 'epik' ),
) );
genesis_register_sidebar( array(
'id' => 'homepage-right',
'name' => __( 'Homepage Right', 'epik' ),
'description' => __( 'This is the homepage right section.', 'epik' ),
) );
AND
3) Styling the CSS as below to have 2 side by side widgets
.homepage-left {
margin: 0 auto !important;
overflow: hidden;
padding: 0 0 0px !important;
width: 50%;
float: left;
}
.homepage-right {
margin: 0 auto !important;
overflow: hidden;
padding: 0 0 0px !important;
width: 50%;
float: right;
}
This worked. So if you want more clickable content instantly on the homepage, this may help.
Cheers Eric.
I was thinking 2 separate widgets (to enable use of widgets that auto update featured posts, videos etc)
The 2 columns page is helpful though. Is there a link to show the code needed for those column classes?
Thank you!
Hi Dono – Yes, firebug solved it and change these sections.
Earlier I was editing something that changed all template types
The below let me change only the content sidebar or sidebar content setup
.content-sidebar #content, .sidebar-content #content {
width: 70.2778%;
}
And had to adjust sidebar px widths
.sidebar .widget {
border-bottom: 0 solid #CCCCCC;
margin-right: 0;
overflow: hidden;
padding-bottom: 1rem;
width: 290px;
}
}
.sidebar {
width: 25.5556%;
}
All fixed – thks
Thks for jumping in Eric. Yes that’s it, but to avoid the chaos of that I’ll rework this another way. Cheers
Thks Eric, yep couldn’t solve that one. I don’t suppose there’s some shortcode type functionality that could display a particular portfolio (blog) category?
Hi – if anyone has the same problem, here’s some updates (though not fixed yet)
This might not be the default Epik theme setup, but you can create a Genesis Before Header widget area.
Using: http://wpsites.net/web-design/widget-genesis/
But…
Now when I create my secondary menu, and added it using a Custom Menu to the Genesis Before Header Widget Area, the menu links show up vertically.
Has anyone found the solution for that? Thanks!
Cheers Eric. I’m actually referring to the standard blog portfolio page layout in Epik.
Yes, you can insert the genesis featured posts, but the CSS layout of the exist Epik portfolio looks a lot better
i.e trying to get it to look like http://mikemetcalfe.co/blogs/hotels-resorts-tourism/ in a homepage widget
Cheers Scooby. On a Laptop also… so strange. We’ll let perfectionism slide on this one. Thanks for helping.
Thanks Scooby – I tried the ‘fixed’ solution but alas… failed miserably.
A good example of this is the contact page – http://mikemetcalfe.co/contact/
When you hit submit, the white box is small, so the black footer section rises.
If a page has minimal height (like the contact page), I want to fix the footer height.
But if it’s a normal page (like homepage with more content / vertical height) is stays as needed.
Hope that makes sense. Thanks
Rockstar, that did the trick and learned something new. Thanks!
Cheers Eric. Now on 330. The width changed but strangly SS-Icons still jumps above the border bottom line. Thanks for trying.
Hi all – the easy CSS option (but not ideal) seems to be removing the div and increasing padding between elements (?)
But it anyone knows why they simple social icons push up into the above section, I’m all ears. Strange.
Thks Eric – not sure why either but yes it works! Cheers
RESOLVED
Thks Eric – have researched / experimented repeatedly but can’t crack this one.
The goal… trying to keep woo store in the normal epik page look – see ‘new test'(verse other image).
https://www.dropbox.com/sh/pzjsyab8ng3b1ng/ivBVv6qWHI
It’s automatically doing this for cart and checkout page, but not for shop range or product page.
I created the page, then point woo store to those pages… then the style is overridden.
My only guess is I need to create a template single product or shop pages, (but if that’s the right answer?), not sure what code to insert to create the almost full width white border page – like in new test image.
??
Thks!
Thks Scooby. Helpful tutorial. Figured out a design work around but good to know. Cheers
CLOSED
Thanks again Eric. Yes, that what I got. It still displays an underline like a link, but without a link address. No worries.
CLOSED
RESOLVED
Hadn’t realised that each feature-widget section has it’s own CSS.
Hi Kronos – do the 3 docs here help? Line 650 of CSS seems to control this.
Thks Eric. Learning on the fly… so if I understand, I need to:
– look at class… for example, #content .post .entry-title { (the blog titles)
– then add styling for every element (presumably under the darkblue section)
#content .post .entry-title {
font-size: 24px;
font-size: 1.5rem;
font-weight: 400;
line-height: 28px;
Does anything need to be removed / added, so this overrides the normal settings?
Thks Scooby. On localhost so once deployed, will post an update for help.
Thks Kronos. On Localhost setup – will have to investigate how to share!
Update:
Found some fixes but…
When trying to increase padding between parent menu item and sub-menu item (so top of sub-menu item section starts at bottom of entire header section), the entire header section expands down. I think it has something to do with ‘auto’ but can’t identify.
Any ideas?
SOLVED – Had the code
.epik-darkblue #header a:hover
color: #BEBEBE;
in the default colour section.
Needed it within the darkblue section.
Thks Kronos. After lots of troubleshooting, Cory from Duplicator found the simple fix. Just needed to deactivate the WP-Minify plugin.