• I’m using the plugin WP Fluid Images and it’s resizing my avatars as well. Someone suggested using:

    .ngg-gallery-thumbnail img {
    min-width: 260px !important;
    min-height: 170px !important;
    }

    But it did not work in default.css any idea what I’m doing wrong?

Viewing 15 replies - 1 through 15 (of 15 total)
  • please post a live link to illustrate the problem.

    and ideally please post the question in the plugin’s support section at https://www.ads-software.com/support/plugin/wp-fluid-images

    Thread Starter Ripjaws

    (@ripjaws)

    Thank you here is a live link:

    https://www.8bitgamer.com/pc/top-5-games-better-minecraft/

    All the way at the bottom author profile is extremely small. If I disable the plugin it’s regular size.

    Support for plugins never work, I’ve emailed and posted on countless plugin forums and receive zero support. Developers make these plugins, and just dump them without a care in the world that people have problems. I spent the past few weeks getting multiple plugins to work and trying to contact developers with poor support or no response. They just don’t care.

    .bp-page .postinfo .thumbnail img.avatar {
    width: 100% !important;
    }

    in your style.css Should fix the issue with your avatar images on the postinfo.

    It’s not beautiful code – but it looks like some js is targeting the image with a width – so the !important will help override it.

    Do not edit your theme. First create a child theme for your changes. Or install a custom CSS plugin.

    Sorry for not being more clear – correct – don’t edit css in your theme – but the above code should work if you have a custom css panel in your theme, or if you have a custom style.css in a child theme.

    Thread Starter Ripjaws

    (@ripjaws)

    Creating a child theme seems VERY complicated. Which is recommended more? Custom CSS plugin or child theme?

    It’s not that complicated, actually, especially the only modification you need is CSS. I’d say Child theme would be the best approach, as it will let you make template changes without disrupting the theme in the future, should you need to.

    There are lots of resources available that cover Child Themes, but here’s an example:

    create a folder in themes – call it what you’d like your childtheme to be called. This can be (your theme name)-child, or something similar. Inside the Folder, create a single file, called style.css, and put this in it as a template:

    /*
     Theme Name:   WP Simple Child Theme
     Theme URI:    https://www.example.com/
     Description:  WP Simple Child Theme
     Author:       TODO
     Template:     wp-simple
     Version:      1.0.0
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain:  wp-simple-child-theme
    */
    
    @import url("../wp-simple/style.css");

    This is a child theme based on a theme called WP Simple.

    The name, URL, and description can be called whatever you’d like. There are TWO important pieces that you need to make sure are correct. 1) The “Template” value should be the folder name of your parent theme. (The theme you currently have set up)

    2) you need to make sure the @import path matches your folder structure. I’m 99% sure that you’ll only need to replace ‘wp-simple’ with the name of your theme folder.

    Give it a shot and let me know how it works!

    Bryan

    Thread Starter Ripjaws

    (@ripjaws)

    Hello,

    I made the new folder Explicit-Child and added style.css under this as follows:

    What’s the next step? Do I just add the code to this file and hit save?

    Thanks so my style.css is:

    /*
     Theme Name:   WP Simple Child Theme
     Theme URI:    https://www.8bitgamer.com
     Description:  WP Simple Child Theme
     Author:       TODO
     Template:     explicit
     Version:      1.0.0
     Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
     Text Domain:  wp-simple-child-theme
    */
    
    @import url("../explicit/style.css");

    I’d recommend changing the Theme Name to Explicit Child ( And probably the description too, maybe “child of explicit theme. also change the text domain to explicit-child

    after you’ve done that, upload the theme, and go the Appearance->Themes and activate “Explicit Child” which should be listed in your theme list

    Thread Starter Ripjaws

    (@ripjaws)

    Will I lose any settings or placement of my widgets on my current Explicit theme? This took a very long time to setup…

    Nope – you shouldn’t lose anything – I’d make a backup just in case if you’re concerned.

    Hmmm – actually – not totally sure about this ?? Do you have a staging environment where you can try this out? I’d say in general it’s better to make any major changes like this in a staging environment.

    If you’ve got a lot of theme modifications, maybe installing a custom css plugin might be the way to go instead.

    Thread Starter Ripjaws

    (@ripjaws)

    I used the custom CSS plugin as recommended and put in the code. Thank you so much for your help! I really appreciate that. The developers of so many wordpress plugins are absolutely USELESS. I wish there was a agreement that locked these developers to committing to their products. Such a poor work ethic, meanwhile I get help from the members.

    I wish I could give you some brownie points or something Purcebr. You are more helpful than the majority of lazy WordPress plugin developers these days.

    I wish you the best.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Isn’t that a bit too much to ask from the people who are providing the theme/ plugins freely anyway?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Could someone help me with this minor piece of code?’ is closed to new replies.