Hallo,
ich bin (relativer) Wordpress-Neuling. Leider komme ich bei zwei designtechnischen "Problemen" nicht weiter. Ich habe schon einige Stunden gegoogelt und rumprobiert - leider ohne Erfolg. :(
1. Ich möchte das Theme anpassen: Die Thumbnails der Posts sollen allesamt quadratisch sein; 300x300 oder 150x150px. Nun habe ich einen 3 Jahre alten Thread gelesen. Leider funktioniert die Lösung bei mir offenbar nicht:
[COLOR=#333333][FONT=sans-serif]hello,
featured image is 284 x 200 px,[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]i fixed that by replacing in layout1.php in theme folder[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]"><?php the_post_thumbnail('medium'); ?></div>[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]with[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]"><?php the_post_thumbnail('thumbnail'); ?></div>[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]and in settings-media the thumbnail size with the exact size of featured image 284x200[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]if you want create a gallery with default thumbnails just reset size to 100x100[/FONT][/COLOR]
[COLOR=#333333][FONT=sans-serif]not the best solution but work :)[/FONT][/COLOR]
https://wordpress.org/support/topic/…-page-pixelated
Hat jemand eine Idee, wie ich das Problem lösen kann?
2. Ich möchte gerne die Bilddatei permanent bündig am Boden platzieren. Auf einigen Seiten funktioniert es, auf anderen leider nicht.. Seltsam.
Auf der (fixen) Startseite fliegt die Bilddatei auch inmitten der Seite rum, außer ich habe mindestens (!) 3 Posts.
<!--FOOTER SIDEBAR--><div id="footer">
<div class="widgets"><ul><?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widgets') ) : ?><?php endif; ?></ul>
</div>
</div>
<!--COPYRIGHT TEXT-->
<div id="copyright">
<div class="copytext">
<a class="towfiq" target="_self" href="http://xxx.com/imprint">Imprint</a>
<?php echo of_get_option('footer_textarea'); ?>
<?php _e(' ● Theme by', 'zenon');?> <a class="towfiq" target="_blank" href="http://www.towfiqi.com/">Towfiq I.</a>
<?php echo of_get_option('footer_textarea'); ?>
<?php _e(' ● Content by', 'zenon');?> <a class="towfiq" target="_blank" href="http://www.xxx.com/">xxx</a>
<?php echo of_get_option('footer_textarea'); ?>
<?php _e('2016', 'zenon');?>
</div>
<!--FOOTER MENU-->
<div id="footmenu">
<?php wp_nav_menu( array( 'container_class' => 'menu-footer', 'theme_location' => 'footer', 'depth' => 0, 'fallback_cb' =>false) ); ?>
</div>
</div>
<div style="text-align: center;"><a href="<?php echo esc_url( home_url() ); ?>"><img src="http://xxx.com/wp-content/themes/zenon_lite-child/images/bilddatei.jpg" border=0></a></div>
</div>
<?php wp_footer(); ?>
</body>
</html>
Alles anzeigen
Ich würde mich riesig freuen, wenn jemand einen Tipp für mich hätte.
Beste Grüße