Viewing 4 replies - 1 through 4 (of 4 total)
  • It appears that particular block of text that is centered, is not inside a <p> tag, which is likely causing to react strangely to bootstrap’s framework.

    I’d start with that, as that appears to me as the only thing keeping it from matching the rest of the text on your page.

    Thread Starter tymz96

    (@tymz96)

    Hi treykane, thanks for your answer.

    To which class i should add the Align? I am a Little bit confused because I didn’t make a custom css and edited the one from the theme.

    Next time I should use an own css…

    Regards

    The text just needs to be properly wrapped in <p> tags.

    When I look at the source for that section of the page it stands out as its the only text on the page not wrapped in <p> tags. This may have been due to entering the content in the CMS as plain text in this instance. In which case WordPress would not automatically insert these tags for you. Below is the section of code which I’m looking at:

    <div class="col-xs-6 col-centered col-fixed" style="width: 100%;">
    Die ausgezeichnete Küche und individuell eingerichtete Gästezimmer machen den Sonnenhof zu einem beliebten Domizil am Rhein, das günstig mit Auto und Bahn erreichbar ist.Traditionell ist der Sonnenhof ein familiär geführtes Hotel und nicht vergleichbar mit großen Häusern.<p></p>
    
    <p>Unsere Zimmer haben den 2**-Standard (Dehoga-Klassifikation). Wer den Komfort eines 4** Hotels erwartet, ist sicher bei uns falsch.</p>
    </div>

    Corrected it would be

    <div class="col-xs-6 col-centered col-fixed" style="width: 100%;">
    <p>Die ausgezeichnete Küche und individuell eingerichtete Gästezimmer machen den Sonnenhof zu einem beliebten Domizil am Rhein, das günstig mit Auto und Bahn erreichbar ist.Traditionell ist der Sonnenhof ein familiär geführtes Hotel und nicht vergleichbar mit großen Häusern.</p>
    
    <p>Unsere Zimmer haben den 2**-Standard (Dehoga-Klassifikation). Wer den Komfort eines 4** Hotels erwartet, ist sicher bei uns falsch.</p>
    </div>
    Thread Starter tymz96

    (@tymz96)

    Oh okay I understood and tried it on an other page. This worked for me!! Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Theme: Twenty Twelve] Text Align CSS’ is closed to new replies.