AtillaBoz
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Flat] Create Child ThemeHello Luke,
thanks for your post. It came just in time ?? I just did what you said and it worked well. I made a new folder called “flat-child” and added those 2 files you mentions and a few changes like this in the style.css file:
/* Theme Name: Flat Theme URI: https://example.com/flat/ Description: Flat Child Theme Author: John Doe Author URI: https://example.com Template: flat Version: 1.0.0 Tags: flat Text Domain: flat-child */ /* =Theme customization starts here -------------------------------------------------------------- */ /* Header - Untertitel - Schriftfarbe */ #masthead .site-description, .hentry .entry-meta { color: #fff; } /* Widget - überschriften - Textfarbe */ #secondary .widget-title { color: #fff; } /* Widget - Linkbox - Textfarbe */ #site-navigation .current-menu-item > a, #site-navigation .current-menu-parent > a, #site-navigation .current-menu-ancestor > a, #site-navigation .current_page_item > a, #site-navigation .current_page_parent > a, #site-navigation .current_page_ancestor > a { color: #fff; } /* Footer - Seitenzahlen - Hintergrundfarbe */ .paging-navigation .page-numbers { background-color: #ff7e00; border-color: #000; } /* Footer - Seitenzahlen - Hintergrundfarbe, HOVER */ .paging-navigation .page-numbers:hover { background-color: #2c486f; border-color: #fff; }
I just wonder why it was so easy ?? I mean how did the child theme found out which one is the parent theme? And why is the child theme also named “Flat” and not “Flat Child”
I could not see anything in the functions.php that defines which parent theme to chose.
And how do I add a thumbnail to the child theme. I often make websites for customers and it
s always a pain if there
s a design update…Thanks again for everything,
AtillaForum: Fixing WordPress
In reply to: How to move MENU below HEADER image in Twenty Twelve themeOk I tried this now it worked with child theme. Thank you for the great post everyone.
Forum: Fixing WordPress
In reply to: How to move MENU below HEADER image in Twenty Twelve themeBut I will try that out these days, now Im just too tired to do more then coffee, copy & paste ?? Now im curiuous about how it works…
Forum: Fixing WordPress
In reply to: How to move MENU below HEADER image in Twenty Twelve themeCreating a child theme looks quite complicated for me honestly – I am just trying to finish it in time quick, and yes a little bit dirty, too. I know I will think of you at the next update when my banner is gone but that`s ok with me for now.
At least next time I will know why it`s gone.
Thank you for your help.
Forum: Fixing WordPress
In reply to: How to move MENU below HEADER image in Twenty Twelve themeHello everybody. I did it like this:
First I just deleted the title in the hgroup area. I did not really delete the code but just made it invisible with this tag:
<!-- Invisible Code bla bla -->
Then I added a picture by its link to the header area. I uploaded the banner ine the media gallery before so I can go and copy the link from there.
I then linked the Banner up to the homepage and gave the link a title.
I thought this works ok, because it always worked good with the non responsive themes. Now I went to the page of mollystillman and checked the code with firebug. The missing link for me was this part:
class="header-image"
If you add that one to your pic the banner will act responsive and get smaller if you make the browser smaller.
<hgroup> <a href="index.php" title="FW-Angeln-Pur"><img class="header-image" src="https://fw-angeln-pur.com/wp-content/uploads/2013/01/fw-angeln-koeln.jpg" width="960"></a> <!-- H1 and H2 TAGS ARE INVISIBLE / NOT ACTIVE <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> --> </hgroup>
You can see the results on these pages:
catfish fishing tackle online: fw-angeln-pur.com
K?ln-Porz, Business Community*: porz.biz
I hope I could help somebody with this. Best wishes to everybody from Germany.
*(still in construction at this time)