boxestim
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Make Header image same across all pagesThere are so many people with this problem here its crazy. If you find a solution, please share! I am still waiting for a reaction on my topic (trying to get different header for each page).
Forum: Fixing WordPress
In reply to: Full Width Static Front Page does not workSorry for the spamming. I think I fixed it! However I think this is only a ‘visual fix’ and I think I did not really solve the problem.. could anyone still help with the actual underlying problem? I added the following CSS:
.page.page-template-full-width #primary {
width: 100%;
max-width: none;
}.page-one-column .panel-content .wrap
{max-width: none;}Forum: Fixing WordPress
In reply to: Full Width Static Front Page does not workHi,
I added the following CSS:
.page.page-template-full-width #primary {
width: 100%;
max-width: none;
}This helped a little: it now displays the static front page on the area designated for the main content + sidebar. But it does not stretch all the way to the sides yet.. suggestions?
Forum: Fixing WordPress
In reply to: Full Width Static Front Page does not work@hudsonvalleywebdesign, I created the child-theme myself so that’s not really an option.
@themesgrove I tried copying both my page.php and my full-width.php and renamed it as front-page.php and uploaded it back into my filemanager but it did not work. With the page.php I get the non-full-width page (so with side-bar but no full-width), and with the full-width.php I get the exact same result as just selecting the page. No side-bar but no full-width either.
What should be changed in the index.php? I have not customized the index.php in my child so it is just getting the data from the twentyseventeen file which is as below. Could you suggest what tweaks would enable the full-width page as static front-page?
<?php
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.www.ads-software.com/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/get_header(); ?>
<div class=”wrap”>
<?php if ( is_home() && ! is_front_page() ) : ?>
<header class=”page-header”>
<h1 class=”page-title”><?php single_post_title(); ?></h1>
</header>
<?php else : ?>
<header class=”page-header”>
<h2 class=”page-title”><?php _e( ‘Posts’, ‘twentyseventeen’ ); ?></h2>
</header>
<?php endif; ?><div id=”primary” class=”content-area”>
<main id=”main” class=”site-main” role=”main”><?php
if ( have_posts() ) :/* Start the Loop */
while ( have_posts() ) : the_post();/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( ‘template-parts/post/content’, get_post_format() );endwhile;
the_posts_pagination( array(
‘prev_text’ => twentyseventeen_get_svg( array( ‘icon’ => ‘arrow-left’ ) ) . ‘<span class=”screen-reader-text”>’ . __( ‘Previous page’, ‘twentyseventeen’ ) . ‘</span>’,
‘next_text’ => ‘<span class=”screen-reader-text”>’ . __( ‘Next page’, ‘twentyseventeen’ ) . ‘</span>’ . twentyseventeen_get_svg( array( ‘icon’ => ‘arrow-right’ ) ),
‘before_page_number’ => ‘<span class=”meta-nav screen-reader-text”>’ . __( ‘Page’, ‘twentyseventeen’ ) . ‘ </span>’,
) );else :
get_template_part( ‘template-parts/post/content’, ‘none’ );
endif;
?></main><!– #main –>
</div><!– #primary –>
<?php get_sidebar(); ?>
</div><!– .wrap –><?php get_footer();
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Full Width Static Front Page does not workHi stilman davis. Thanks for your reply. No that does not work. I have assigned my full-width template to the test page (as you can see if you follow the link to the test-page).
Forum: Fixing WordPress
In reply to: Overlay color does not stay within parent-div!Many thanks man, it works. Added it to my Custom CSS but am going to add it to my child’s stylesheet later on to keep my custom css field a bit cleaner. thnx!
Forum: Fixing WordPress
In reply to: Overlay color does not stay within parent-div!Many thanks. It was just the stupid visual editor adding breaks where they were not intended. I should really just disable it for pages as I only use it for posts…. But that part is solved! great! Many thanks!
Could you perhaps also help with the white border around the images? It also shows up around all images that I use in different post-grids on my page (see https://www.noroadback.com/blog). I am unable to locate where that border comes from..
Forum: Fixing WordPress
In reply to: Hover text-color does not workthnx for the tip Mark, and thanks Daniel! that solved the issue. Still think is weird that if I target a class:hover it does not overwrite the default settings..
Forum: Fixing WordPress
In reply to: full-width page does not work. (twentyseventeen)Hi Jose Castaneda,
Many thanks for your reaction but it seems the problem is resolved. There was a rule that blocked the full-width for NOT twenty-seventeen-front-page. It was resolved by adding this to my CSS:
.page.page-template-full-width:not(.twentyseventeen-front-page) #primary {
width: 100%;
max-width: none;
}Forum: Fixing WordPress
In reply to: alignment of pictures is gradual for no reasonHi Steven,
Thank you for your help. The problem is fixed. I think it was caused by the visual editor (but the break does not show in the normal editor). I have installed the Tiny MCE Advanced plugin but am contemplating de-activating is since I feel it is (partly) responsible for a whole lot of bugs. Do you have any experience with that?
Thanks,
Thijn
Forum: Fixing WordPress
In reply to: (Internal) Link not loading in page correctlyCannot believe it was that easy. Thank you Steve! Finding out I am even more of a html/css noob than I thought I was.