Jump to content

Spacing issue on sidebar


Gauravk

Recommended Posts

27 minutes ago, Gauravk said:

Thanks @jpointer2_merged any clue which file has that <br> to omit?

I couldn't find any <br> in custom.css nor in advertisements

It won't be in your CSS file, as this is HTML.

Go to your theme editor and try looking in your core > global > sidebar template file. You can also search <br><br> when in the theme editor, above the list of files. I found similar on mine but this might not mean it's the same on yours.

brbr.JPG

Link to comment
Share on other sites

9 minutes ago, jpointer2_merged said:

Okay, not the cleanest of ways but try adding the following to the bottom of your style .css:

 

It worked fine with -10.

May I know why you said it's not the cleanest way....? Is it going to cause any harm in future while updating?

Link to comment
Share on other sites

2 minutes ago, Gauravk said:

It worked fine with -10.

May I know why you said it's not the cleanest way....? Is it going to cause any harm in future while updating?

It will work fine and shouldn't cause any issues, the cleanest way would be to wrap the advert in a <div> and style a class. It's just better practice but no more effective than what you've just done. 🙂

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...