Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1379939
    Eric
    Participant

    Hey I was just wondering if it’s possible to set a max/min width for some text within a raw content element. Basically what I’m trying to do, is stop my sidebar’s ‘about me’ text from responsively readjusting whenever the browser size is changed. If it’s possible, I’d like it to act like a fixed block of text, which would either stay the same size when the browser width is changed, or the block of text would get reduced as a whole. Also, I’d like to have the block (or container) centered, with the text-align set as ‘justify’. I assumed the way to do this would be to assign a fixed max/min width to the text, but nothing I’ve one has worked.

    Please let me know if you have any solutions and thanks again for all your help.

    #1379946
    Eric
    Participant
    This reply has been marked as private.
    #1379996
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can set the CSS like max-width: 500px; margin: 0 auto; display: block; within style field of Text Element or Raw Content.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1379939 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>