center page title and vizualisation

  • Unknown's avatar

    hi. i am trying to center my page titles. and so far it worked with this CSS code:
    .page .entry-header {
    text-align: center;
    }

    but what it does not move with it.. is a red line thats incorporated in my them under the page title. need that to move with the text xD

    to see what i mean u need check here: https://jacoon.org/sa/german-jokers/

    im at a loss here.. all help is apreciated :-)

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    i have been playing with totaly removing the title also. and then just adding a header instead. but the headers only go to H2 size. where title is H1, and also hiding title dont hide my red title underlining…!

  • Hi there,

    The following CSS code will remove that red line.

    .has-excerpt .entry-header-wrapper::after, body.single .entry-header-wrapper::after, body.page .entry-header-wrapper::after {
        display: none;
    }
  • Unknown's avatar

    hi. thx for the help.. sorry the late answer, been occupied elsewhere lately. i have been trying the code u gave me. but as i am a code noob. i cant seem to get it to work..

    do i need alter something add page -id anywhere in code.. to tell it on wich pages to remove the line?

  • Unknown's avatar

    added the code as it is. in y css section of my theme

  • Unknown's avatar

    ok it was just a question of moving the code up, above other page alterations.

    the code works as it is supposed on my hompage. but on other static pages. where the line is supposed to stay. it also disapears. and then changes the layout of my page, and tilt everything left.

    i am useing some other css to remove the main menu completly for some pages. and just like this code:

    /* Hide Navigation on pagename Page | 21254094-hc (KK) */
    .page-id-9999 #site-navigation {
    display: none;

    it is something like this i am hopeing to find for this red line aswell :-) tyvm :-)

  • Unknown's avatar

    ah wait layout is good again… was a widget that didnt work propper with the changes.. removed it and now its good xD..

    it works like a charm thank you. next.. make it only work on those pages i give it id to xD

  • Hi there!

    Please reach out via live chat and let us know exactly on which pages you want the line to be removed and on which you want to keep it: https://wordpress.com/help/contact

  • The topic ‘center page title and vizualisation’ is closed to new replies.