added permalink anchor to titles, moved arrow in resources submenus to right
This commit is contained in:
parent
c170e9da2f
commit
b478f8787b
File diff suppressed because one or more lines are too long
|
@ -44,10 +44,13 @@ main {
|
|||
text-align: center;
|
||||
}
|
||||
}
|
||||
.entry-content {
|
||||
section {
|
||||
// padding: $global-padding $global-padding*2;
|
||||
}
|
||||
.entry-content,.omekas-entry-content {
|
||||
@include breakpoint(small){
|
||||
@include xy-cell(12);
|
||||
padding: $global-padding*2 ;
|
||||
padding: $global-padding*2 $global-padding/2 ;
|
||||
margin:0 auto;
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
|
|
|
@ -49,11 +49,14 @@
|
|||
li.menu-item-has-children {
|
||||
> a {
|
||||
&:after {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-left: 10px;
|
||||
margin-right: 2px;
|
||||
border-bottom-width: 6px;
|
||||
border-right-width: 0;
|
||||
border-right-style:solid;
|
||||
border-color: transparent transparent transparent $anchor-color-alt;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,9 +26,12 @@ get_header(); ?>
|
|||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header>
|
||||
<?php
|
||||
//https://developer.wordpress.org/reference/functions/permalink_anchor/
|
||||
if ( is_single() ) {
|
||||
permalink_anchor();
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
} else {
|
||||
permalink_anchor();
|
||||
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -44,10 +44,13 @@ main {
|
|||
text-align: center;
|
||||
}
|
||||
}
|
||||
.entry-content {
|
||||
section {
|
||||
// padding: $global-padding $global-padding*2;
|
||||
}
|
||||
.entry-content,.omekas-entry-content {
|
||||
@include breakpoint(small){
|
||||
@include xy-cell(12);
|
||||
padding: $global-padding*2 ;
|
||||
padding: $global-padding*2 $global-padding/2 ;
|
||||
margin:0 auto;
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
|
|
|
@ -49,11 +49,14 @@
|
|||
li.menu-item-has-children {
|
||||
> a {
|
||||
&:after {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-left: 10px;
|
||||
margin-right: 2px;
|
||||
border-bottom-width: 6px;
|
||||
border-right-width: 0;
|
||||
border-right-style:solid;
|
||||
border-color: transparent transparent transparent $anchor-color-alt;
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,11 @@
|
|||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header>
|
||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||
<h1 class="entry-title">
|
||||
<?php //https://developer.wordpress.org/reference/functions/permalink_anchor/;?>
|
||||
<?php permalink_anchor(); ?>
|
||||
<?php the_title(); ?>
|
||||
</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<?php the_content(); ?>
|
||||
|
|
|
@ -13,10 +13,11 @@
|
|||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
<header>
|
||||
<?php
|
||||
//https://developer.wordpress.org/reference/functions/permalink_anchor/
|
||||
if ( is_single() ) {
|
||||
the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
permalink_anchor();the_title( '<h1 class="entry-title">', '</h1>' );
|
||||
} else {
|
||||
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
|
||||
permalink_anchor();the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
|
||||
}
|
||||
?>
|
||||
<?php //foundationpress_entry_meta(); ?>
|
||||
|
|
Loading…
Reference in New Issue