• Resolved acym

    (@acym)


    Hi, I’m having problem with changing the font size of my data cell text. I’ve referred to this page
    https://cfdbplugin.com/?page_id=93
    but I’m not a professional programmer and I’ve tried countless times but it doesn’t work. I have a style tag at the same page as my form shortcode and I’m able to change the font-size of the table header using ID element but when I display my data cells results the font is still small. I switch to using class element but then I would lose all the table borders.
    I want to be able to have the table borders and have all my fonts bigger size.

    Using class:
    https://i.imgur.com/MmnW0yI.jpg

    Using ID:
    https://i.imgur.com/n5L2FJX.jpg

    My code:
    [cfdb-table form="AdminForm" headers="BuiltUp=Built Up Area(sq. ft.),PriceRange=Price Range" id="search-style" hide="Submitted,captcha-409,Submitted Login,Submitted Login,Submitted From" filter="BuiltUp~~/.*$_POST(BuiltUp).*/i&&PriceRange~~/.*$_POST(PriceRange).*/i&&intval(1)=$_POST(x)"]

    https://www.ads-software.com/plugins/contact-form-7-to-database-extension/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    Try:

    [cfdb-table form="AdminForm" headers="BuiltUp=Built Up Area(sq. ft.),PriceRange=Price Range" id="search-style" hide="Submitted,captcha-409,Submitted Login,Submitted Login,Submitted From" filter="BuiltUp~~/.*$_POST(BuiltUp).*/i&&PriceRange~~/.*$_POST(PriceRange).*/i&&intval(1)=$_POST(x)" style="#search-style TD DIV {font-size: 14pt;}"]

    Thread Starter acym

    (@acym)

    Thanks a lot Michael! The code worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I change the font size of table data with id?’ is closed to new replies.