# Preventing gridlines passing over (or through) tick labels

**URL:** <https://community.wolfram.com/t/preventing-gridlines-passing-over-or-through-tick-labels/23062>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [November 7, 2023, 11:19pm UTC](https://community.wolfram.com/t/preventing-gridlines-passing-over-or-through-tick-labels/23062 "2023-11-07T23:19:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geoffrey](https://avatars.discourse-cdn.com/v4/letter/g/bc8723/32.png) [@geoffrey](https://community.wolfram.com/u/geoffrey)\
**Post date:** [November 7, 2023, 11:19pm UTC](https://community.wolfram.com/t/preventing-gridlines-passing-over-or-through-tick-labels/23062/1 "2023-11-07T23:19:58Z")

</div>

Is there a way to hide grid lines beneath tick labels (so that they don’t collide)? One way I do this in other applications is by placing a while-filled frame behind the labels and setting the label and frame in a higher layer than the grid lines (which blocks the grid lines from displaying immediately below the labels). I was hoping there might be something similar (and more automatic) in Mathematica. Any ideas?
