Forum Replies Created

Viewing 15 replies - 31 through 45 (of 84 total)
  • Thread Starter AnnaHavanna

    (@annahavanna)

    My theme (Twenty eleven) does not have a topbar widget area. Can I change this? And how?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Hi again. Here’s the content of my page.php:

    <?php
    /**
     * Template for displaying all pages
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    
    get_header('test'); ?>
    <div id="primary">
    <div id="content" role="main">
    <?php while ( have_posts() ) : the_post(); ?>
    <?php get_template_part( 'content', 'page' ); ?>
    <?php comments_template( '', true ); ?>
    <?php endwhile; // end of the loop. ?>
    </div><!-- #content -->
    </div><!-- #primary -->
    <?php get_footer('test'); ?>
    Thread Starter AnnaHavanna

    (@annahavanna)

    That’s the code #secondary in my style.css:
    #secondary {
    float: right;
    margin-right: 0px !important;
    width: 18.8%;
    }

    Isn#t that correct?

    Thread Starter AnnaHavanna

    (@annahavanna)

    I know there a some double codes in my style.css, but is there anything completely wrong?

    Thread Starter AnnaHavanna

    (@annahavanna)

    That’s my style.css:

    /*
    Theme Name: test
    Description: Child theme based on twentyeleven
    Author: test
    Version: 1.0.0
    Template: twentyeleven
    */

    /*
    Hier kommt jetzt das Importieren des Parent-Theme-Stylesheets
    */
    @import url(‘../twentyeleven/style.css’);

    .page #respond { display: none; }

    /* =Menu Aenderung Farben und so
    ————————————————————– */

    /* Menu Background */
    #access {
    background: #cccccc; /* Show a solid color for older browsers */
    background: -moz-linear-gradient(#cccccc, #cccccc);
    }

    /* Reduce space outside menu items and center whole menu*/
    #access ul {
    display: table;
    margin: 0 auto;
    width: auto;
    }

    /*
    Farbaenderung des Text-Bodys in weiss
    */
    #page {
    background: #FFFFFF;
    }

    #site-generator {
    background: #FFFFFF;
    }

    /* Change space between header image and browser top */
    #page {
    margin-top: 20px;
    }

    /* Removing weird lightgrey line from the top of the header image by changing the border-top from 2px to 0px */
    #branding {
    border-top: 0px solid #bbb;
    padding-bottom: 10px;
    position: relative;
    z-index: 9999;
    }

    /* Reducing white space between menu and title of the page */
    .singular.page .hentry {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    }

    .singular .hentry {
    border-bottom: medium none;
    padding: 0;
    position: relative;
    }

    /* Changing of fonts – Titel */
    .singular .entry-title {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    line-height: 14px;
    }

    /* Changing of fonts – Font size and font color and font-weight of top menu */
    #access a {
    font-size:13px;
    color: #f36d00 !important;
    font-weight: bold;
    }

    /* Changing of fonts – Font size of image caption text */
    .wp-caption p.wp-caption-text {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
    }

    .wp-caption .wp-caption-text:before {
    content: ”; /*remove the symbol before caption text */
    }

    /* Remove the search-field and remove the right padding from the top menu*/
    #branding .only-search #searchform {
    display: none;
    }
    #branding .only-search + #access div {
    padding-right: 0;
    }

    /* Remove search-field*/
    #branding #searchform {
    display: none;
    position: absolute;
    right: 7.6%;
    text-align: right;
    top: 3.8em;
    }

    /*Place graphic element in sidebar directly at the right margin*/
    #secondary {
    float: right;
    margin-right: 0px !important;
    width: 18.8%;
    }

    /* Center the top menu*/
    #access ul {
    width: 800px; /* Width of top menu*/
    margin: 0 auto;
    display: block;
    position: static;
    float: none;
    }

    Thread Starter AnnaHavanna

    (@annahavanna)

    Yes, I have a text widget in the general sidebar:
    <img src=”../../Sidebar_Logo5.jpg”>

    Would it help if I paste the content of my style.css?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Any idea? Anyone?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Thread Starter AnnaHavanna

    (@annahavanna)

    Problem solved. I pasted this code in my style.css:

    #secondary {
    float: right;
    margin-right: 0px !important;
    width: 18.8%;
    }

    Thread Starter AnnaHavanna

    (@annahavanna)

    Yes! It worked. Thanks to zota marius.

    Thread Starter AnnaHavanna

    (@annahavanna)

    Where do I paste it? In my style.css?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Hi, I pasted a text widget in the sidebar. It is displayed on this site:
    https://goo.gl/kctZTI

    Now I’d like to have this image (the upright grey stripe) directly sticked to the right margin of my main page. How can I reduce the right space to zero?

    Thanks.

    Thread Starter AnnaHavanna

    (@annahavanna)

    @ravipatel and @heart2hack: Thanks. I will try it tomorrow morning. Good night ??

    Thread Starter AnnaHavanna

    (@annahavanna)

    Anyone?

    Thread Starter AnnaHavanna

    (@annahavanna)

    Thanks!

Viewing 15 replies - 31 through 45 (of 84 total)