mirror of
https://ghproxy.net/https://github.com/AlxMedia/textdash.git
synced 2025-08-26 15:14:30 +08:00
Fix thumb sizes and content width
This commit is contained in:
parent
c0d98cafeb
commit
37e62d50ef
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ add_action( 'after_setup_theme', 'textdash_load' );
|
|||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
// Content width
|
||||
if ( !isset( $content_width ) ) { $content_width = 740; }
|
||||
if ( !isset( $content_width ) ) { $content_width = 700; }
|
||||
|
||||
|
||||
/* Theme setup
|
||||
|
@ -75,8 +75,8 @@ if ( ! function_exists( 'textdash_setup' ) ) {
|
|||
// Thumbnail sizes
|
||||
add_image_size( 'textdash-small', 200, 200, true );
|
||||
add_image_size( 'textdash-medium', 520, 293, true );
|
||||
add_image_size( 'textdash-large', 670, 377, true );
|
||||
add_image_size( 'textdash-large-h', 670 );
|
||||
add_image_size( 'textdash-large', 880, 495, true );
|
||||
add_image_size( 'textdash-large-h', 880 );
|
||||
|
||||
// Thumbnail sizes custom widgets
|
||||
add_image_size( 'alx-small', 200, 200, true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue