WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Theme: Twenty Eleven] css title font-size doesn't work (8 posts)

  1. Pieterbroeckx
    Member
    Posted 1 year ago #

    Hey long time it went well buth now when i tried to change my title size it stay's stanard. Instead of the preferences my child theme:

    .singular .entry-title {
    	font-size: 26px;
    }

    http://www.mtbclinics.be
    what's wrong ?

    /*
    Theme Name:     MTBClinics
    Description:    Gebaseerd op twenty eleven aangepast naar MTBClinics.be
    Author:         Admin
    Template:       twentyeleven
    
    (optional values you can add: Theme URI, Author URI, Version)
    */
    
    @import url("../twentyeleven/style.css");
    
    /*-----------------------------------------------------------------
    -----------------------------body----------------------------------
    -----------------------------------------------------------------*/
    /*other font*/
    body, input, textarea {
    	font: 15px "Verdana", Verdana, Geneva, sans-serif;
    }
    
    /*-----------------------------------------------------------------
    -----------------------------menu----------------------------------
    -----------------------------------------------------------------*/
    /*align menu left (remove left margin)*/
    #access div {
    	margin: 0 0 0 10px;
    }
    /*custom text display*/
    #access a {
    	color: #ececec;
    	text-transform:uppercase;
    	font-weight: bold;
    	font-size:95%;
    }
    #access a:first-letter {
    	font-size:130%;
    }
    /*search box*/
    #branding #searchform {
    	right: 46px;
    }
    #branding .only-search #s, #branding .only-search #s:focus {
        width: 88%;
    }
    /*menu mail img*/
    li#menu-item-111 a {
    	display: block;
    	background-image:url('/wp-content/themes/mtbclinics/images/mail.png');
    	background-repeat: no-repeat;
    	width: 45px;
    	height: 45px;
    	text-indent: -9000px;
    	padding: 0 0 0 0;
    }
    li#menu-item-111 a:hover {
    	display: block;
    	background-image:url('/wp-content/themes/mtbclinics/images/mail.png');
    	background-repeat: no-repeat;
    	width: 45px;
    	height: 45px;
    	text-indent: -9000px;
    }
    li#menu-item-111 {
    	position:absolute;
    	right:1px;
    }
    
    /*-----------------------------------------------------------------
    -----------------------------entry---------------------------------
    -----------------------------------------------------------------*/
    /*page titel underline*/
    .showcase .entry-header, .singular .entry-header {
    	-moz-border-image:url(/wp-content/themes/mtbclinics/images/GreenBorder.png) 0 0 30 0 stretch;
    	-webkit-border-image:url(/wp-content/themes/mtbclinics/images/GreenBorder.png) 0 0 30 0 stretch;
    	-o-border-image:url(/wp-content/themes/mtbclinics/images/GreenBorder.png) 0 0 30 0 stretch;
    	border-image:url(/wp-content/themes/mtbclinics/images/GreenBorder.png) 0 0 30 0 stretch;
    	border-bottom-style:solid;
    	border-bottom-color:#99cc00; /*for firefox*/
    	background-image:url('/wp-content/themes/mtbclinics/images/mudpost_background.png' );
    	background-repeat:no-repeat;
    }
    
    /*homepage only
    -----------------------------------------------------------------*/
    /*hide home page title */
    body.home .entry-title {
    	display: none;
    }
    /*hide comment hompage*/
    body.page #comments {
    	display:none;
    }
    
    /*blogpage only
    -----------------------------------------------------------------*/
    .page-id-3401 .entry-content h1, .entry-content h2 {
    	margin: 0px 0px 0em;
    }
    
    /*standard layout
    -----------------------------------------------------------------*/
    /*page margin*/
    #page {
    	margin-top: -0.2%;
    	margin-bottom: -2%;
    }
    /*remove space between content and menu*/
    .entry-content, .entry-summary {
    	padding: 0em 0px 0px;
    }
    #main {
    	padding: 0em 0px 0px;
    }
    /*smaler margin*/
    .singular #content, .left-sidebar.singular #content {
    	margin: 0px 0.2%;
    }
    .entry-title {
    	padding-bottom: 0.3em;
    	padding-top: 1px;
    }
    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
    	width: 90%;
    }
    .singular.page .hentry {
    	padding: 1em 0px 0px;
    }
    /*page font text*/}
    .singular .entry-title {
    	font-size: 26px;
    }
    .singular #content{
    	font-size: 13px;
    }
    /*sidebar margin*/
    .widget {
        margin: 0px 0px 1em;
    }
    
    /*layout whit sidebar
    -----------------------------------------------------------------*/
    /*margin content en sidebar*/
    #content {
    	margin: 0 0 0 5%;
    	width: 66%;
    }
    #secondary {
    	float: right;
    	margin-right: 1%;
    	width: 25%;
    }
    
    /*showcase layout
    -----------------------------------------------------------------*/
    /*allign schowcase left and fill full page*/
    .page-template-showcase-php section.recent-posts {
    	float: left;
    	margin: 0px 0px 0px 0%;
    	width: 95%;
    }
    /*make font size same as post*/
    body, input, textarea {
    	font: 13px "Verdana",Verdana,Geneva,sans-serif;
    }
    
    /*post layout
    -----------------------------------------------------------------*/
    /*change position meta (date)*/
    .singular .entry-header .entry-meta {
    	position: relative;
    }
    /*hide meta bottom*/
    .singular footer.entry-meta {
    	display: none;
    }
    .entry-header .entry-meta {
    	padding-right: 0px;
    	margin: 0 0 0 76%;
    }
    
    /*-----------------------------------------------------------------
    ----------------------------footer---------------------------------
    -----------------------------------------------------------------*/
    /*image in footer*/
    #site-generator {
    	-webkit-background-size: cover;
    	-moz-background-size: cover;
    	-o-background-size: cover;
    	background-image: url("/wp-content/themes/mtbclinics/images/bgr_footer_img.png");
    	padding: 64px;
    	background-repeat: no-repeat;
    	background-position: center center;
    	background-size: cover;
    	/*hide wordpress add*/
    	text-indent: -9000px;
    }
    /*remove space between content and footer*/
    #supplementary {
    	padding: 0em 0%;
    }
    
    /*-----------------------------------------------------------------
    -----------------------------plugins-------------------------------
    -----------------------------------------------------------------*/
    /*timely-------------------*/
    /*homepage only !!!!!!!!!!!!!!!!*/
    body.home h2.ai1ec-calendar-title {
    	display: none;
    }
    body.home .timely .btn-toolbar {
    	display: none;
    }
    /*posterbord, agenda, month dropdown button*/
    body.home .ai1ec-calendar-toolbar td:first-child {
    	display: none;
    }
  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Where on which page is your title?

    By the way, you needn't paste your CSS if you've linked the website.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Looks like you have an extra bracket in this section of your CSS -- at the end of the comment line:

    /*page font text*/}
    .singular .entry-title {
    	font-size: 26px;
    }
  4. Pieterbroeckx
    Member
    Posted 1 year ago #


  5. Pieterbroeckx
    Member
    Posted 1 year ago #

    ooooo
    that's the glitch :D
    thanx for the help WPyogi :)
    *titles of all pages

  6. sjgarbutt
    Member
    Posted 10 months ago #

    I am new to this and would kindly like your help.

    The site is: http://127.0.0.1:4001/wordpress/

    I was having problems with submenu hiding behind the slider. I cleared IE9 browser and the submenu works but now I am having problems with font size of tagline and navigation menu. Please help!

    I make changes in child theme but it doesn't seem to work.

    I also want to know how to position images in header so that donate button and search box line up with the logo.

    Thanks in advance.

  7. Andrew
    Forum Moderator
    Posted 10 months ago #

    @sjgarbutt, which theme are you using?

  8. sjgarbutt
    Member
    Posted 10 months ago #

    I am using Twenty Twelve theme.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.