Custom before_title and after_title in widgets area

Posted in: Newspaper
Post count: 3

Hi,

First, i have to say i used your theme for weeks before finally finding something Newspaper can’t do easily (or at least i can’t find how to do it). It’s a really good theme and i’m really happy to use it !

My problem is pretty simple : is there any way to custom before_widget / after_widget / before_title / after_title variables before registering a sidebar ? I can’t find how to do that in the backoffice or even in the code file.

Thanks a lot for your help !

Post count: 20688

Hi,

There is no such setting in the theme. Maybe I can help you, but I don’t know exactly what you are trying to do.

Thanks

Post count: 3

Hi,

I just would like to add an image after the title. Something like : https://ibb.co/iZTyoy

Any idea to help me ?

Thanks a lot !

Post count: 20688

Hi,

You can use CSS for that if needed. Like in this example
https://www.screencast.com/t/FcpTPOhZ
This is the code used in the example, you can experiment with it. I tested with a block 7n widget, you can use any widget type you want.

.td_block_7.td_block_widget:after {
content:'';
background: url("http://localhost/test/wp-content/uploads/tdm_pic_5.jpg");
background-size: 30px 30px; background-repeat: no-repeat;
position: absolute;
width: 30px;
height: 30px;
top: 0;
right:0;
}

Post count: 3

How didn’t I think about that earlier ? -_-‘

Thank you for your help, have a good day !

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.