Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,408
Community Members
 
Community Events
176
Community Groups

I need to know how to delete the horizontal line macro? There is no Edit or Remove button

I have a page, with UI expands, I accidently added the macro horizontal line in between two of my UI sections, but I cannot delete it now.  I have tried everything, including trying to find the source code for it.  I can delete the entire FAQ widget/macro, but really?  I just need the line to go and delete the extra white space.

1 answer

Hello @Donna Breckenridge,

Try pressing backspace on the next row after the horizontal line. It worked for me for deleting a Horizontal rule in Confluence 6.13.8 with Chrome 81.0.4044.138 (Official Build) (64-bit).

Which is fine if the horizontal line is not the last thing on the page, but frustrating if it is.

Is there a way to access some sort of underlying mark-up language to allow me to delete it?

FWIW  I managed to replace it with random text which I could then delete.

I'll retract that, it was still there.

Bump!  I have 3 lines I can now not remove....

Did anyone ever figure this one out?

I did figure out a work around to this.  I opened up the page with the source editor and removed the <hr/> from the code.  Not ideal, but got the job done.

Like John Naughton likes this

Also, if you have a Confluence page with hundreds of horizontal rules <hr/> at the bottom of the page (due to the Confluence content duplication bug) I found this post on stack overflow very helpful:

https://stackoverflow.com/questions/16099428/chrome-web-inspector-find-and-replace

Alternatively if you want to search and replace in the HTML you could Right ClickEdit as HTML the<body>in the DevTools Elements Panel select all the text with Ctrl+a, paste into your favourite editor, make the change there and paste it back.

First, using the Chrome browser (Firefox probably works as well) open your page in the Confluence editor.  Open the browser developer tools and find the HTML element containing the <hr/>.  Follow the step quoted above.  Then, when you save the page from the Confluence editor the horizontal lines at the bottom of the page will be gone.

Bit late to this but I found that on a mac, I'm able to delete horizontal rules by pressing Function + Backspace while directly in the next row.

Like Sissy Czernik likes this

@Albouy, SebastienThat's a game changer! Thank you! :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events