Adding a DIV
-
In archive pages I have this code:
<? get_header(); ?> <BR></BR> <?php the_archive_title( '<h1 class="page-title">', '</h1>' ); ?> <main id="primary" class="site-main">
Instead of the broken rule, that works also on mobiles (and an extra space is too much), I thought I could create a div space to contain “the archive title”, so that I could give a little of padding top to the title only to bigger screens, instead of the broken rule. Other wise I should code something to make work the broken rule only on big screens
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding a DIV’ is closed to new replies.