Forum Replies Created
-
AuthorPosts
-
Go to Enfold->Theme Options->Frontpage settings and choose you page in question as homepage (frontpage).
This does not work as I explained, it is not an option. Need to override Enfolds frontpage setting based on page id which i s4994
Sorry wasnt clear enough.
I want to make http://www.Waterstone-Realty.com/idx/listings/home my home page. I need it to look and act like my current home page at http://www.Waterstone-Realty.com. so i need to remove the white header space above picture AND i need to manually override it as home page because /idx/listings/home is not available as a drop down box in enfold theme or wordpress geral settings.
May need one more thing after, throw it out there now. I need to overwrite the home page in AVIA with a page- id. The page I want is not an option in drop down box .That’ should be it though, I promise… =)
Beautiful! Now can you help get rid of the white header above the picture? Promise I’ll leave you alone after this. The slider and property search are part of custom theme. So moving Main -95 or whatever won’t fix the problem. Below is the theme .idx.php
Thanks EVER So much!
<?php
/*
Template Name: IDX
*/
global $avia_config;/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();if( get_post_meta(get_the_ID(), ‘header’, true) != ‘no’) echo avia_title();
do_action( ‘ava_after_main_title’ );
?><div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘default’ ); ?>’>
<div class=’container’>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘slider’) ) : ?>
<?php endif; ?>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘property-search’) ) : ?>
<?php endif; ?><main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ =>
‘content’,’post_type’=>’page’));?>>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/$avia_config[‘size’] = avia_layout_class( ‘main’ , false) == ‘entry_without_sidebar’ ? ” : ‘entry_with_sidebar’;
get_template_part( ‘includes/loop’, ‘page’ );
?><!–end content–>
</main><?php
//get the sidebar
$avia_config[‘currently_viewing’] = ‘page’;
get_sidebar();?>
</div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
Alright, abusing this some. But if I wanted to uses this template with NO sidebar on right or left, what will I have to remove?
Reason being, I have a plug in that does not let you custom editor work at ALL. So I have to create a custom CSS template similar to yours but remove the possibility of a sidebar next to the container.
Wow that sucks. something in my custom home.php messed it all up. Not Sure what, but yikes. If you know what it was would appreciate the head up or maybe this will help someone else.
<?php
/*
Template Name: HOME
*/
global $avia_config;/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();if( get_post_meta(get_the_ID(), ‘header’, false) != ‘no’) echo avia_title();
?><div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>
<div class=’container’>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘slider’) ) : ?>
<?php endif; ?>
<?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘property-search’) ) : ?>
<?php endif; ?><main class=’template-page content <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’,’post_type’=>’post’));?>>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/$avia_config[‘size’] = avia_layout_class( ‘main’ , false) == ‘entry_without_sidebar’ ? ” : ‘entry_without_sidebar’;
get_template_part( ‘includes/loop’, ‘page’ );
?><!–end content–>
</main></div><!–end container–>
</div><!– close default .container_wrap element –>
<?php get_footer(); ?>
I see what you are saying. How can I override the style sheet with the default stylesheet. When I change he blog style to “Use advanced Layer editor” it does change. So it seems to me Avia Still has control. Unfortunately it won’t show Gris Layout for Blog. Grid Layout was one of the main reasons I chose this template. It has to be something with Enfold theme.
Note, I do have a template names idx.php. But removing still give me same problems.
- This reply was modified 9 years, 3 months ago by WSRJohn.
How can I override that with CSS?
I removed the most recent posts that have idx templates and didn’t fix it.
Also need to get rid of white space now at top please.
http://www.waterstone-realty.com/idx/listings/homeThanks, works. If I wanted header to reappear when scrolling down like it happens in the theme, what would I do?
Thanks, but that might have been an option before all the self mod. How about just the css to remove page title and menus on a specific page id such as page id 4994? I installed plug ins to remove title but it doesn’t work since your template is custom.
Template is custom and somewhat broken. But link is http://www.waterstone-realty.com/idx/listings/home
Would like to make menu transparent as well like homepage. http://www.waterstone-realty.com
Bummer but ok. Let me ask this… how can i remove title for one page with page id 4994?
Working great. Thanks.
page id is 14. The latter in this post works on home page but majorly messes up other templates. What would be the correct way to put page if 14 into the css?
.p=14 .content, .sidebar {
padding-top: 0;
margin-top: -95px;
}.home .content, .sidebar {
padding-top: 0;
margin-top: -95px;
}Removing the white space on the home page messes with all of the other pages. Is there any way to target only that template?
- This reply was modified 9 years, 3 months ago by WSRJohn.
“To get rid of white space as shown in your screenshot:”
I did take the time to upload screen shot. Screen shot mocked is pointing to where I want padding. Want the white translucent box to have padding all around, but mainly where I pointed in screen shot.
The font size adjuster is not working for me at all. I have removed each CSS line one by one and can’t get the font to adjust. Going to try to reinstall main theme.
Thanks again. Getting there.
Alright. Linking mock up.
http://www.waterstone-realty.com/wp-content/uploads/2015/09/Mock-up-Waterstone-Home-page.jpg
You can check out actual site any time at http://www.waterstone-realty.comBut need 3 things done please and thanks in advance.
First menu Font got out of whack. Need it adjusted to 15 px size.
Second the box I created to house the widget in I would like the off white translucent expanded on either side if the widget about 10 px for box padding,
3rd would like to get ride of the white space of where my widget would be before floating it up.@media only screen and (MIN-device-width: 736px) {
No more White space at full screen
}Thank again for all the help. Bounce rate is gong down significantly.
Current custom code is below. You have access to site still if you like to check it out. Thanks again
#top .phone-info {
font-size: 17px;
}div#dsidx-quicksearch-2 {
top: -140px;
background: #fff;
background: rgba(255,255,255,0.75);
box-padding: 30px;
box-shadow: 10px 10px 2px rgba(0,0,0,0.74);
width: 100%;
box-border-left: 10px;
box-border-right: 10px;
z-index: 99;
}@media only screen and (max-device-width: 736px) {
div#dsidx-quicksearch-2 {
top: 24px;
}
}@media only screen and (max-device-width: 450 px) {
div#dsidx-quicksearch-2 {
top: 80px;
}
}#top .widget label {
display: inline;
}#top .widget input {
margin: 0;
}
#top .widget { padding: 0px 0; }div .widget {
padding: 0px 0;
}.page-thumb {
display: none;
}.post-thumb {
display: none;
}div .widget {
padding: 15px 0;
}
#top .avia_ajax_form .text_input, #top .avia_ajax_form .select, #top .avia_ajax_form .text_area{
padding:10px;
}#avia-menu > li >a {
font-size: 10px;
}- This reply was modified 9 years, 3 months ago by WSRJohn.
It’s messing things up. My menu fonts got bigger, still don’t have boarders. Responsive cuts off the top part at rop: 0px. And I have a massive amount of white space between my slider and the search bar (which is where the widget is in .php template). http://www.waterstone-realty.com.
div#dsidx-quicksearch-2 {
top: -240px;
border-left: 10px;
border-right: 10px;
background: #fff;
background: rgba(255,255,255,0.75);
padding: 3%;
box-shadow: 10px 10px 2px rgba(0,0,0,0.74);
width: 100%;
z-index: 99;
}@media only screen and (max-device-width: 736px) {
div#dsidx-quicksearch-2 {
float: none;
}Fantastic,, Tweaked that to this
div#dsidx-quicksearch-2 {
top: -240px;
background: #fff;
background: rgba(255,255,255,0.75);
padding: 3%;
box-shadow: 10px 10px 2px rgba(0,0,0,0.74);
width: 100%;
z-index: 99;
}How do I get color padding on the right and left though? AND is there anyway to make it snap below the slider when it gets into responsive mode, such as a cell phone?
Thanks for the help.
Yes, similar to Homes.com. I just want a center floating widget on top of layslider area.
Before I purchased, Kreisi said I could do it. When I went to create everything I couldn’t do it with layerslider. The other theme installed in my site with genesis has the correct idea.Here you are.
While you are in there, can you please disallow all comments. For some reason on your theme I keep getting spam even though I have comments turned off.
Appreciate all the help!
-
AuthorPosts