enlarge link for phones Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    enlarge link for phones

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved enlarge link for phones

    Post by poesia-verses November 4th 2023, 8:10 am

    hi all.
    I want to increase it for phones (I have a web version for phones on the forum) this link is below, here is the code that I use, but it doesn’t work

    Code:
    @media screen and (max-width: 550px) {
      #statk1 a {font-size: 72px;}
    }

    enlarge link for phones Clipbo15



    Notabene:

    I now have Windows 7, and many problems with the forum have disappeared. all is good. Thank


    Last edited by poesia-verses on November 5th 2023, 5:51 pm; edited 1 time in total
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: enlarge link for phones

    Post by skouliki November 4th 2023, 2:57 pm

    hello

    who gave you that code ?

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved Re: enlarge link for phones

    Post by poesia-verses November 4th 2023, 5:57 pm

    its my code
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: enlarge link for phones

    Post by skouliki November 4th 2023, 8:20 pm

    you can not increase the font size that much without changing the width of the element cause the text will vanish
    also you want this code to be applied in the mobile version? cause the desktop version is the same to all devices

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved Re: enlarge link for phones

    Post by poesia-verses November 5th 2023, 10:11 am

    @skouliki
    please attach a screenshot of my forum from your phone now
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: enlarge link for phones

    Post by skouliki November 5th 2023, 12:11 pm

    Here you go

    enlarge link for phones Img_3110

    poesia-verses likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3286
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: enlarge link for phones

    Post by Niko November 5th 2023, 2:15 pm

    Coucou,

    you don't have any element with ID
    Code:
    #statk1
    , so of course the code does not work, but you have a
    Code:
    .kstat1
    class element

    This CSS will work instead:
    Code:
    @media screen and (max-width: 550px) {
      .kstat1 a {
        font-size: 72px;
    }
    }

    Also, please note that you may need to change the parent element style attribute, in particular the dimension of the width line Wink
    Code:
    <div class="kstat1" style="position:fixed;
        z-index:1800;
        height:18px;
        width:122px;
            bottom: 0px;
    right: 47px;
    line-height: 98%;
    ">

    TonnyKamper and poesia-verses like this post

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved Re: enlarge link for phones

    Post by poesia-verses November 5th 2023, 2:27 pm

    The web version(for phone) is not the same as narrowing the browser window; when narrowing, my script works.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: enlarge link for phones

    Post by skouliki November 5th 2023, 4:30 pm

    poesia-verses wrote:The web version(for phone) is not the same as narrowing the browser window; when narrowing, my script works.

    The layout changes based on the size and capabilities of the device... based on different screen sizes ...based on different device features and so on..

    this is why we created the Modern version https://help.forumotion.com/t161760-new-the-modernbb-version-of-forumotion-forums-is-now-responsive?highlight=ModernBB


    TonnyKamper likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3286
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: enlarge link for phones

    Post by Niko November 5th 2023, 5:09 pm

    poesia-verses wrote:The web version(for phone) is not the same as narrowing the browser window; when narrowing, my script works.

    Have you tried using the solution I provided?

    TonnyKamper likes this post

    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved Re: enlarge link for phones

    Post by poesia-verses November 5th 2023, 5:31 pm

    Have you tried using the solution I provided?

    yes
    not work
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3286
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: enlarge link for phones

    Post by Niko November 5th 2023, 5:41 pm

    Can you try with this instead?

    Code:
    @media screen and (max-device-width: 550px), screen and (max-width: 550px) {
    .kstat1 a {
        font-size: 72px!important;
    }
    }

    You may also need to add this to solve the issue of the parent I was telling you before:
    Code:
    @media screen and (max-device-width: 550px), screen and (max-width: 550px) {
    .kstat1 {
        width: fit-content!important;
    }
    }
    poesia-verses
    poesia-verses
    Forumember


    Male Posts : 571
    Reputation : 22
    Language : and small english

    Solved Re: enlarge link for phones

    Post by poesia-verses November 5th 2023, 5:50 pm

    work
    thanx very mach

    Niko likes this post

    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: enlarge link for phones

    Post by skouliki November 5th 2023, 6:00 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules