Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #9070
    Anonymous
    Inactive

    Hi. Thanks for your nifty plug in which saved me time. Easy to use, too.

    This post is more of a wish-list or feedback than a request for support. <3 Wish you had the following customization options:

    Set font size independently from shortcut width and height
    Option to change color of hover state on button

    I am unable to affect these with theme-level customization to CSS as your CSS loads as an overwrite of anything I try to do outside of the plugin. Without ability to tweak for small-screen, I’m using your TURN OFF option … I’d rather show though.

    Suggest you add a “CUSTOM CSS” section in your settings area, to allows overwriting of CSS (sizes, colors, text padding, that aren’t accessible in the existing customizations area.

    Thanks again. Kristi

    #9081
    Skandha
    Participant

    @windows7: Hello Kristi,
    Can you please post in your site URL and let me know what changes you would like to be made to the to top button? I will provide you the necessary CSS Code.

    Kind Regards,
    Skandha

    #9083
    Anonymous
    Inactive

    Dear Skandha,
    Thank you for your reply, but I already know my CSS Code. What I’m saying is that it loads before your plugin CSS so YOUR CODE overwrites whatever changes I attempt to make. That’s why I suggested a CUSTOM CSS within your plugin customization.

    Everything worked fine for me on mobile, but the arrow wasn’t centered and/or the box appears a bit more portrait than squared. This is because the size of width, height, and font-size are all controlled in your settings by one setting (width).

    When I reduced the size of the font in firefox web developer, it was fine. However, I was unable to affect the CSS through any method I know (no way to change font-size in your customization area. customization within my theme’s custom CSS area gets overwritten by your CSS). For now I’ve just turned it off.

    On the button states, I wanted to switch out the background-color on the hover state. Again, no way to customize this as whatever you have coded into the plugin loads after any spaced in which I can add custom CSS.

    Warm regards,
    Kristi

    #9084
    Anonymous
    Inactive

    Here are some screen shots. First is side-by-side of (left) how button appears with width, height, font-size controlled by one measure in your customization panel and (right) the tweak I made by reducing the font-size (only needed on small screens).

    Side-by-side of customization intent.

    This image shows that your CSS is overwriting the custom CSS I tried to add in the CSS customization area provided by WordPress Theme. See that “font-size:1.9em” has strikethrough.

    My code of type-size:1.9em is overwritten by your font-size:36px set by 'Icon Size (px)'.

    Thanks, Kristi

    #9113
    Skandha
    Participant

    @windows7: Hello Kristi,
    The plugin’s CSS can be overridden by using !important after the property. I tried it at my end and it seems to be working.

    Let me know if this works out!
    Kind Regards,
    Skandha

    #9125
    Anonymous
    Inactive

    Hi Skandha,

    The !important suggestion worked for the font size. THANK YOU!

    However, for #to_top_scrollup:hover state change, I cannot achieve what I’m trying to do. When I set the #to_top_scrollup:hover state to another color!important, this CSS command changes all states of the button to that color. I’ve tried also specifying :active and :visited states at the initial color, but cannot work around this.

    Any ideas other than a choice in your setup options for Hover State?

    Again, happy with your plugin and am now able to use on mobile devices without the arrow being pushed way to the right (by reducing the size of the arrow on these smaller screens).

    Kristi

    #9130
    Skandha
    Participant

    @windows7: Hello Kristi,
    I am able to change the hover color as well using CSS Code. Can you please post in your site URL so that I can check and provide you the necessary CSS Code?

    Kind Regards,
    Skandha

    #9140
    Anonymous
    Inactive

    Thank you again, Skandha. I could only affect colors to be either/or. Adding the CSS for hover state, changed the color for all states. Warm regards, Kristi

    Here is my failed attempt:

    #to_top_scrollup:hover {background-color:#0d5e9c !important}
    #to_top_scrollup, #to_top_scrollup:active;#to_to-_scrollup:visited{background-color:#54397e !important}

    http://www.AdMarkCom.com

    #9161
    Skandha
    Participant

    @windows7: Hello Kristi,
    I checked your site and you seem to have change the To top color on hover as well. Is there anything you would like to change?

    Kind Regards,
    Skandha

    #9168
    Anonymous
    Inactive

    Thanks for your reply, but the hover state is NOT working as I would like. I cannot achieve what I wanted and overrule what you have with !important. Of course, I could be missing something, so welcome your advice.

    Your base CSS takes a background color (end-user ability to set this color in customization), & sets to low opacity at “resting” state. On hover, that color changes to a higher state of opacity.

    What I wanted was to have low opacity of base purple color (in my case #54397e) go to a fairly opaque blue (#0d5e9c) rather than opaque purple.

    The code I copy and pasted was my attempt to do that, but whatever color I add to the hover-state CSS changes the color of all states. If to_top_scrolltotop background-color is blue, the “resting” state (:active, :visited) is a low opacity blue not of purple. If I remove the hover state CSS it’s all varying degrees of the purple.

    So, seeking different opacity AND color on hover. Thank you, Skandha

    #9179
    Skandha
    Participant

    @windows7: Hello Kristi,
    Go to => Appearance => Customize => Additional CSS and add the following CSS Code.

    #to_top_scrollup {
        background-color: #54397e;
    }
    #to_top_scrollup:hover {
        background-color: #0d5e9c;
    }

    Let me know if this solves your issue.
    Kind Regards,
    Skandha

    #9180
    Anonymous
    Inactive

    <3 Skandha, all is well and working in my world ! Colors and states are as desired.

    Thank you. Was my code not working because the hover state was listed first in the CSS. That is the only real difference I can see between your and my CSS customization. I am amazed that yours worked without needing to add “!important”.

    Thank you so much! Kristi

    #9181
    Skandha
    Participant

    @windows7: Hello Kristi, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/plugin/to-top/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
    appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

    #9182
    Anonymous
    Inactive

    DONE (copy-pasted below)! Thanks again, Skandha. Life’s best to you in 2021!

    Time Saver with A+++ Support on Customization

    This plug-in did exactly what I wanted. Created with eye to mobile-responsive design. Had some trouble getting the CSS exactly as I wanted but author was VERY responsive and helped me achieve exactly what I was trying to do. This is the BEST scroll-to-top plug-in. Look no further.

    #9183
    Skandha
    Participant

    @windows7: Hello Kristi,
    Thank you for your wonderful review. Have a great year ahead! 🙂

    Kind Regards,
    Skandha

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘CSS Customization Request’ is closed to new replies.