Hey,
ich "baue" gerade an einem Blog für mich. Ich möchte auf allen Seiten allerdings die Sidebar deaktiveren. Dies geht ja auch recht simpel. Allerdings wird der Content dennoch nicht auf voller Breite dargestellt.
Vgl.:
Ich hoffe, ich drücke mich verständlich aus. :-)
1. Hat jemand vielleicht eine Idee für einen passenden "Codeschnipsel"?
Stylesheet: style.css
/*Theme Name: Simplenotes
Description: Simplenotes is a clean and minimal WordPress theme that requires no plugins to run. The theme features a dropdown menu, social media integration, sidebar widgets, threaded comments and more. The simple notebook is ready for both writers and readers.
Version: 5.1
Tags: Black, White
Author: Carla Izumi Bamford
Author URI: http://carla-izumi-bamford.com/
License: GNU General Public License, v3 (or newer)
License URI: http://www.opensource.org/licenses/gpl-3.0.html
*/
@import url(css/common.css);
@import url(css/class.css);
@import url(css/navigation.css);
@font-face{
font-family: 'Open Sans Regular';
src: url('fonts/Open Sans Regular.eot');
src: url('fonts/Open Sans Regular.eot?#iefix') format('embedded-opentype'),
url('fonts/Open Sans Regular.woff') format('woff'),
url('fonts/Open Sans Regular.ttf') format('truetype'),
url('fonts/Open Sans Regular.svg#webfont') format('svg');
}
@font-face{
font-family: 'Lato Light';
src: url('fonts/Lato Light.eot');
src: url('fonts/Lato Light.eot?#iefix') format('embedded-opentype'),
url('fonts/Lato Light.woff') format('woff'),
url('fonts/Lato Light.ttf') format('truetype'),
url('fonts/Lato Light.svg#webfont') format('svg');
}
@font-face{
font-family: 'Lato Regular';
src: url('fonts/Lato Regular.eot');
src: url('fonts/Lato Regular.eot?#iefix') format('embedded-opentype'),
url('fonts/Lato Regular.woff') format('woff'),
url('fonts/Lato Regular.ttf') format('truetype'),
url('fonts/Lato Regular.svg#webfont') format('svg');
}
Alles anzeigen
Full Width Page Template: page-full.php
<?php/*
Template Name: Full Width
*/
?>
<?php get_header(); ?>
<!-- entries -->
<div id="entries-full">
<!-- breadcrumbs -->
<div id="breadcrumbs">
<?php simplenotes_get_breadcrumbs(); ?><div class="clear"></div>
</div>
<!-- /breadcrumbs -->
<?php if ( have_posts () ) : while (have_posts()):the_post();?>
<!-- calling entry -->
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry">
<h2><?php the_title(); ?></h2>
<div class="clear"></div>
<div class="contents">
<?php the_content(); ?>
<div class="clear"></div>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<p><?php edit_post_link('Edit this post', '(', ')'); ?></p>
</div>
<!-- meta -->
<div class="meta">
<div class="time"></div> <?php the_time('F jS, Y') ?>
<div class="user"></div> <a href="<?php the_author_meta('url'); ?>"><?php the_author(); ?></a>
</div>
<!-- /meta -->
</div>
</div>
<!-- /entry -->
<?php endwhile; ?>
<?php comments_template(); ?>
<?php else : ?>
<div class="entry">
<h2>404 Not Found</h2>
<div class="clear"></div>
<div class="contents">
<p>Sorry, but you are looking for something that isn't here. </p>
</div>
</div>
<?php endif; ?>
</div>
<!-- /entries -->
<?php get_footer(); ?>
Alles anzeigen
Ich hoffe, dass anschließend alle Bilder in der Galerie auch im Blocksatz dargestellt werden - und zwar die Seite füllend.
2. Ich würde gerne die Schriftzüge (Überschriften) verändern: Größe verkleiner und ggf. den Abstand zwischen den einzelnen Buchstaben verringern. Jemand hier noch einen Hinweis?
Eventuell weiß ja jemand was; würde mich freuen.
Beste Grüße