Support » Plugin: FSM Custom Featured Image Caption » CSS Styling Problems

  • Resolved whoismatthias

    (@whoismatthias)


    Howdie,

    first of fall thank you for providing this excellent plugin – it’s definitely the kind of thing I was looking for. And thank you in advance for your great support, you can’t take this for granted. Unfortunately I have some minor issues styling the featured image caption (since I’m not a pro at html and all this css-stuff).

    First: Right now the caption text’s color is blue (I’m strongly surprised where it comes from). I want to change it into #888, but don’t know exactly how.

    Second: After hovering it should be colored in #d53. Same problem as above, but don’t know which css-selectors!

    Third: I wonder if it is possible that the featured image caption is NOT displayed as a link. Just like the regular image caption I use in the article beneath.

    So, again thank you very much for your support and your good work. Also, a Happy New Year to everbody!

    Thanks
    Matthias

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fesomia

    (@fesomia)

    Hi @whoismatthias

    Not sure but seems that your theme or some other plugin is adding the link around the featured image, we unfortunately can’t do anything about that, maybe you can change the configuration in your theme options?

    As for the links under the image, again, the color comes from your theme options, look in appearance>customize or something like that or change the css of your child theme. The styles defined in our options plugin are only for the container of the caption, they don’t affect the color of links or hovers.

    You can also try to add the color to your css styles file, with

    .wp-caption.featured a {color: #888}
    .wp-caption.featured a:hover {color: #d53}

    Hope that helps you.

    • This reply was modified 2 years, 1 month ago by Fesomia.
    Thread Starter whoismatthias

    (@whoismatthias)

    Thanks, regarding the color problem this helped me a lot. It works perfect!

    I used a kind of simple work-around-strategy for the problems regarding the links.
    Every of my featured caption starts now with an , which finishes the mysterious linking. If anybody knows a better way, please tell me, since this is not the best way to go…

    Unfortunately, there is another problem: after defining the link by a-tags it seems to begin a complete new paragraph with the caption. You can see this by clicking on: https://matthias-elbert.de/politik/das-prinzip-nachhaltigkeit-fuer-eine-soziale-und-oekologische-politik/

    Can’t explain why this happens.
    Would be so kind if you have any further ideas!
    Thank you again for your support.

    Plugin Author Fesomia

    (@fesomia)

    Hi @whoismatthias

    Again is due to the styling of your theme, that for some reason converts the link tags to a block

    You can try with this css code:
    .wp-caption.featured figcaption a {display:inline-block;}

    Have in mind, however, that all these problems are unrelated to the plugin and the solutions I’m giving you are only suggestions so there’s the (little) possibility some of this changes may break something in the styling of your page (after all the theme has those styles for something), so please check that everything else works as before.

    • This reply was modified 2 years, 1 month ago by Fesomia.
    • This reply was modified 2 years, 1 month ago by Fesomia.
    Thread Starter whoismatthias

    (@whoismatthias)

    Hi @fesomia,

    again thank you. You are completely right, that works fine for me. Awesome support job!

    All the best
    Matthias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS Styling Problems’ is closed to new replies.