Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter grs

    (@grs)

    The theme on it’s own does not use the bootstrap framework.

    Thread Starter grs

    (@grs)

    I don’t believe this is being created by my theme. This only happens when the MZ plugin is initiated.

    Thread Starter grs

    (@grs)

    and I was using chrome dev tools to find that _grid.scss was causing the issues with the .container class.

    Thread Starter grs

    (@grs)

    That is the weird part. The directory doesn’t seem to physically exist in the directory structure. I assumed it was being created on the fly.

    Thread Starter grs

    (@grs)

    Somehow the page I’m using MZ on is loading styles from /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_grid.scss

    The theme I am using is called Symetrio. A premium theme I bought from theme forest.

    https://pherform.com/classes/

    Thread Starter grs

    (@grs)

    css update worked, thank you.

    Thread Starter grs

    (@grs)

    There are classes scheduled. Clients can sign up at mindbody but they classes aren’t showing on my site.

    Thread Starter grs

    (@grs)

    You can view the issue here: https://bit.ly/1Jgt8NC

    There is also an error getting classes when viewing the ‘following week’

    Thread Starter grs

    (@grs)

    Thanks for the suggestions, but it didn’t work out in my case. I ended up creating a function to output the options to a new css file.
    I would just like to add that the IDs are handy for styling elements but not for hiding them. The wrapper and label are left in place and only the element is hidden.

    Thread Starter grs

    (@grs)

    Just to clarify, I am using a colour picker to change a feature colour on the site.
    I think by saying default value I may have given the wrong impression.
    What I mean was pre-populate the CSS option type with something like:

    #header, #footer{
    {{colour_picker}}
    }

    Then hide it so that CSS can’t be edited by an end user.
    It’s a nice feature to have the CSS option type accept IDs, but for the general public adding CSS is too complex. Let alone introducing uncommon CSS syntax and trying to find the IDs of other option types. I would rather set it all up then have them only worry about using colour pickers.
    I can achieve what I want by using ot_get_option and adding styles in the page header, but this bypasses dynamic.css altogether and in my opinion is pretty messy.

    Forum: Hacks
    In reply to: Custom Theme Options
    Thread Starter grs

    (@grs)

    I started again using the themeshaper article, I have hit a snag. I want to change the drop down so that it displays all the pages. This is what I have used

    $pages = get_pages();
    foreach ($pages as $pagg) {
    	$select_options[$pagg->post_id]["value"] = $pagg->post_id;
    	$select_options[$pagg->post_id]["label"] = $pagg->post_title;
    }

    however this only displays the most recently created page.
    How do I get it to show all created pages?

    Forum: Hacks
    In reply to: Custom Theme Options
    Thread Starter grs

    (@grs)

    Sorry I forgot to mention that they were being printed. Thanks for your help, I will do a bit more research with the hooks you have suggested.

    Forum: Hacks
    In reply to: Custom Theme Options
    Thread Starter grs

    (@grs)

    Thanks for your fast reply, apolgies I could not match your speed, its been a busy week.
    Well after your critique of that tutorial I am inclined to redo my theme options page. I am still quite a novice when it comes to php so I’m not sure if the link you posted will give me the spoon feeding I need. I will give it a go regardless.
    I would still like to know where I am going wrong with my current theme options though. Like I said I am a novice, so I’ve grabbed bits from here and there and mashed them together. If you can tell me why this works on one computer and not the other I would greatly appreciate it.

    [code moderated] Code should be provided by way of a pastebin for anything over 15-20 lines. Have made the necessary paste for you this time.. ??
    https://wordpress.pastebin.com/uhPP5Kb7

Viewing 13 replies - 1 through 13 (of 13 total)