• Resolved Pieterbroeckx

    (@pieterbroeckx)


    I want to change the title’s size of the posts in my blog.
    blog
    plugin: Posts for Page
    But can’t finde how.
    this doesn’t work:

    .page-id-3401 .singular .entry-title {
        font-size: 15px;
    }

    any sugestions ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you using a Child Theme or Custom CSS/Styles plugin?

    Thread Starter Pieterbroeckx

    (@pieterbroeckx)

    using child theme:

    /*
    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;
    }
    .page-id-3401 .singular .entry-title {
        color: #000000;
        font-size: 15px;
        font-weight: bold;
        line-height: 48px;
    }
    
    /*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;
    }

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It doesn’t look like any of your pages have the ID of 3401

    Thread Starter Pieterbroeckx

    (@pieterbroeckx)

    —>
    http://www.pieterbroeckx.be/wp-content/uploads/2012/12/Naamloos.png
    isnt the nomber in my adress bar the ID ?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Yes, sorry.
    Remove the space inbetween your CSS selectors; .page-id-3401 .singular

    Thread Starter Pieterbroeckx

    (@pieterbroeckx)

    thanx for support !!
    i did not now that
    very happy right now 😀

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Theme: Twenty Eleven] change titles’ is closed to new replies.