By Michel777 on Monday, 31 December 2018
Posted in General
Likes 0
Views 566
Votes 0
Hi,

we have several custom modules based on latest post module (for every category one). The question is, how to set color for the image border differently ?

In our case we would like to set the border grey, if the background is white.

Thanks

Michel
Dear Arlex,

thank you so much !

Happy New Year !

Michel
·
Monday, 31 December 2018 23:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

In order to do this, you can add the following CSS code into Backend > Extensions > Templates > press 'Yootheme' which is at the 'Template' column > Editor > css > custom.css:

body .uk-offcanvas-content .tm-page .uk-section-default{
background:#ededed;
}


Do clear all of your cache before you see the changes.

Can you have a try and see how it goes?
·
Monday, 31 December 2018 11:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin,

thanks for your effort ! Unfortunatelly made the change the background grey, not the border. And for all modules.

I want the change color for image border and only for those, there have white background. Therefor the change should be made based on customer module - if it is possible at all.

Thanks,

Michel
·
Monday, 31 December 2018 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
If you would like to make your different module with the different image border background colour, you have to add module class suffix from each of the module.

For example this stories module, you can check my attached screenshot below.

I did help you added this custom class name from this module 'stories' so it will inject this class name from that module wrapper.

Then you can use this following custom css to style it, so it will only affect with this module only.


body #eb.mod_easybloglatestblogs.stories .eb-mod-thumb .eb-mod-image {
background: #333 !important;
}
·
Monday, 31 December 2018 21:08
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Happy New Year too.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Tuesday, 01 January 2019 10:07
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post