losrack
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] child style not loadingHi,
I think I have done something wrong on my functions.php, well here it is:
<?php if ( ! function_exists( 'suffice_child_enqueue_child_styles' ) ) { function Storefrontchild_enqueue_child_styles() { // loading parent style wp_register_style( 'parente2-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'parente2-style' ); // loading child style wp_register_style( 'childe2-style', get_stylesheet_directory_uri() . '/style.css' ); wp_enqueue_style( 'childe2-style'); } } add_action( 'wp_enqueue_scripts', 'Storefrontchild_enqueue_child_styles' ); /*Write here your own functions */ /* MY OWN CREDITS */ /* CREDITS - original function has to be disabled*/ function storefront_credit() { ?> <div class="site-info"> <?php echo '?2020 Carlos Jaramillo';?> </div><!-- .site-info --> <?php } /* END SO FAR */
Forum: Themes and Templates
In reply to: [Sydney] Editing pages nightmareThanks for the php. I do have child setup.
Forum: Themes and Templates
In reply to: [Sydney] Editing pages nightmareHow can I disable this without a plugin?
Thanks
Forum: Themes and Templates
In reply to: [Twenty Seventeen] hook content to site-content:afterI was perhaps going the wrong way.
I finally went a different way, registering new stuff before the default widgets.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Adding images to the left columnIs much easier, and without any plugin and straight forward with this:
add_filter( 'the_title', function( $title, $id ) { static $i; //add conditional page and in loop, i.e post id = ID if ( is_page( ID ) && in_the_loop() ) { $i++; //add conditional for filter position if ( 1 === $i ) { $title .= '<div class="imgtitle"><img src="IMAGE URL HERE"></div>'; $title .= '<p>' . __( 'Text', 'textdomain' ) . '</p>'; $title .= '<p><a href="#link">' . __( 'Link' ) . '</a></p>'; } } return $title; }, 10, 2 );
Just put the corresponding ID for desired pages. Here the class is “imgtitle” but you can put any class.
Also if you don’t want text and/or link just take it out or // comment on both or any one.
- This reply was modified 6 years, 11 months ago by losrack.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] hook content to site-content:after… or do I have to register a new section?
Forum: Themes and Templates
In reply to: [Twenty Seventeen] SVG problem on safari 8Safari 8, mac
Thanks!
Forum: Themes and Templates
In reply to: [Twenty Seventeen] SVG problem on safari 8As I said on title. Safari 8
Thanks
Forum: Themes and Templates
In reply to: [Twenty Seventeen] breakpoint and site-info.php questionA small bracket way above on my css was the culprit …
Hi,
I do not know if you still need too create a new section. Any way here is a very effective way of doing it
https://www.tipsandtricks-hq.com/how-to-add-widgets-to-wordpress-themes-footer-1033
Forum: Themes and Templates
In reply to: [Twenty Seventeen] link hover color css thingI know … I will use a:focus
Thanks.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] link hover color css thingI just found the offending thing !
.site-branding a:hover, .site-branding a:focus { opacity: 0.7; }
Finally I have found it!
Forum: Themes and Templates
In reply to: [Twenty Seventeen] link hover color css thingJust un update…
I made some text with that color and it sure looks darker, so there has gotta be something going on to make it appear lighter.
This is driving me nuts … just a simple thing!
- This reply was modified 6 years, 11 months ago by losrack.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] link hover color css thingMight be the surrounding white then that makes it look lighter.
Thou .. originally the hover is some what grey from black and just wanted to make sure was there any opacity or filter.
Anyway … here looks or seems lighter.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] link hover color css thingAny link would. The Site name and navigation for example … all links actually, so far I have just a few.
This is the color #8b0000 I want, and sure here looks lighter.
I looked the color on several html color pages and it sure looks darker, as I watched it on the same monitor as I am programming the css… Why would it appear differently.
Thanks