WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Using WP Less on Touchfolio theme (4 posts)

  1. damienboulat
    Member
    Posted 1 year ago #

    Hi all,

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

    http://dimsemenov.com/themes/touchfolio/

    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!
    Damien

  2. oncletom
    Member
    Posted 1 year ago #

    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.

  3. CedarTeeth
    Member
    Posted 1 year ago #

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

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Please only post in others' threads if you're contributing towards their issues. Otherwise continue your own thread http://wordpress.org/support/topic/custom-footer-bar-plugin?replies=1 .

Topic Closed

This topic has been closed to new replies.

About this Topic