[Resolved] Center Widget Title

Home Forums Support [Resolved] Center Widget Title

Home Forums Support Center Widget Title

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #108230
    hari

    Hi Tom,

    I recently discovered your theme, became Pro-Customer soon and am now in the process of testing to change my production-site with a lot of paying members and heavy forum traffic on it, from Thesis 1.8.6 to Generate Press.

    I am very happy and even excited about what you achieved. I love the flexibility of your theme as well as the elegant approach to configure it. My heart as a aoftware designer loves your stringent approach!

    Although I am well capable of programming myself, I am not willing to chance a single character in the CSS Code, neither in WordPress, nor in a theme. Reason is that stability and long term maintenence is my core concern and I am well aware of the increased complexity in tracking down sideeffects of future plugins and updates, when i would start to chance the code myself.

    With this explanantion in mind my question:

    I am looking for a way to selectively (not everywhere) center the widget titles in den sidecolumns instead of aligning them left. I have a two column Installation with one left and one right and content in the middle.

    I understand what I would need to do in WordPress CSS to change the titels to Center in general, but this is no option as explained above.

    Instead I am looking (idealy) for a customizing option provided by you, maybe as part of the “Spacing” Addon or maybe you have an idea how I could achieve this alignmet with pure HTML in the Widget Title itself, without changing the CSS?

    Any thoughts?

    Thanks Hari

    #108373
    Tom
    Lead Developer
    Lead Developer

    Hi Hari,

    Glad you’ve chosen to go with GeneratePress!

    This is actually more complicated than it should be, but it is possible.

    You can try out this plugin: https://wordpress.org/plugins/html-in-widget-titles/

    Then, you would replace < and > in your HTML with [ and ]

    So, to center:

    [span style="text-align:center;display:block;"]My centered title[/span]

    That should work.

    Let me know 🙂

    #363571
    Jefferson

    Hi Tom,

    I’m having the same problem centering the title of a widget. I installed and activated the plugin you recommended, and tried to add the code as you suggested. It didn’t work. Any other suggestions?

    Jefferson

    #363591
    Leo
    Staff
    Customer Support

    Just one widget? Can you link me to the page and let me know which one? Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.