tipshunter
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssoh man…i forgot about that. It works! ?? Thanks for taking time
What do you think about my idea i mentioned above? any drawbacks? because that worked too
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssi tried that and nothing happens. if i look at page source in my browser responsive.css loads after style.css
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssi think i might have find a way. In theme options it is possible to turn responsivness off. Then i my functions file i add
function tipshunter_responsive (){ wp_enqueue_style('responsive', get_template_directory_uri() . '/css/responsive.css', 'style'); } add_action('wp_enqueue_scripts','tipshunter_responsive', 999);
it seems to be working but i need to add some elements from style.css because there is stuff missing now.
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssit really isnt another issue. there are settings like:
.secondpost { width: 33.6%; float: left; }
i’m just trying to change width to something else. Thats it. Sorry if i wasnt clear enough.
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssPArent theme function
function mts_enqueue_css() { $mts_options = get_option('point'); global $data; wp_enqueue_style('stylesheet', get_stylesheet_directory_uri() . '/style.css','style'); wp_enqueue_style( 'GoogleFonts', '//fonts.googleapis.com/css?family=Droid+Sans:400,700'); wp_enqueue_style( 'GoogleFonts2', '//fonts.googleapis.com/css?family=Open+Sans:400,700'); //Responsive if($mts_options['mts_responsive'] == '1') { wp_enqueue_style('responsive', get_template_directory_uri() . '/css/responsive.css', 'style');
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssso its not possible for me to override responsive.css in parent? changing color of the text was just an example. I really want to change behaviour of featured images when responsive.
If you look att my URL alignment doesnt look so nice
how about doing something with functions? wp_dequeue, remove_action etc
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssThanks for taking time but does it matter if i change that in my child theme because !important setting is within parent theme and i dont want to edit there.
i did that edit as you suggested but its not working if you have child-theme. Let me illustrate:
/parent-theme
/css/responsive.css/child-theme
/css/responsive.css **** i want this one to override parentForum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssIf you take a look at main menu(responsive) text color is white but it should be red becausei changed it to in child theme
#navigation li a { width: 100%; color: #f00; padding: 8px 0; border-left: 0; border: 0; }
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssmy child theme name is point-tipshunter. Point is parent
Forum: Themes and Templates
In reply to: [Point] Having trouble overriding responsive.cssHi,
Child theme is active and usual style.css works fine. Its only responsive.css that fails.
Somehow it wont trigger. I tried editing text color etc but nothing. It reacts only if i edit parent responsive.css