Support » Themes and Templates » Using WP Less on Touchfolio theme

  • Hi all,

    I am working on a site which uses the touchfolio theme:

    A wp-less plugin is shipped with the theme and so I attempted to customize the theme using this tool. For the items that are already listed in the .less file this works great. However I was wondering how to modify things that are NOT listed in the .less file.

    For example I tried adding this to my .less in order to modify the margin at the top of the content section of the page:

    content { margin-top: 100px;)

    Doesn’t work 🙁

    Anyone have experience with .less that can give me some pointers?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    as some other have reported, the plugin only detects updated .less files which are registered via WP API.

    If you @import LESS files within your code, it does not detect changes.
    The only solution for the moment is to alter a registered LESS file or clear the compiled file (in your wp-content/uploads/wp-less directory).

    If you work on a local environment, activating WP_DEBUG will force file compilation on every page of your WP instance.

    does anyone have idea, if i want to use background image on this theme footer area, what should i add/change on LESS file?

    Moderator Andrew Nevins


    Forum moderator

    Please only post in others’ threads if you’re contributing towards their issues. Otherwise continue your own thread .

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using WP Less on Touchfolio theme’ is closed to new replies.