Column Shortcodes not working

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by v4sb, Jan 28, 2015.

  1. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    My column shortcodes are not working on the page I have built out? Does this have anything to do with the theme? I have the WP Edit plugin for this.
     
  2. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi,

    We fails to understand your issue.
    Would you please provide us some screenshot of the code you have used so that we can provide you the exact solution.

    Thanks,
    Praveen
     
  3. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    [one_third]CONTENT[/one_third][one_third]CONTENT[/one_third][one_third_last]CONTENT[/one_third_last]
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
  5. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    The shortcodes do not work well with the Sales Junction theme. There is a box that outlines the content on each page and when you add shortcode column, they go outside of this box. And the two columns shortcode did not display properly either. It put them one under the other. I checked the coding and it was correct, so it should not have done this. Thank you.
     
  6. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    I do not see an option for one-third and two-thirds either? Is there a shortcode for this?
     
  7. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    You can find the shortcode details on salejunctiontheme\lib\shortcodes.php
    You can manage it through CSS code if any alignment problem is occurred after using shortcodes.

    Thanks & Regards
    Pramod
     
  8. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    Can you tell me the CSS code for when the text goes outside of the box/wrapper? Thank you.
     
  9. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    The shortcodes are still not working. Well, sort of. For example, if I put two columns, the first column aligns properly, but the second column goes underneath the first column, like it is in the same column, even though I used "last" in the shortcode. And it still goes outside of the box/wrapper designed for the page.
     
  10. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
  11. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !
    Do you want to put two column one for image and another for text.
    Please provide a screenshot if possible to make make me better understand to give you better solution.

    Thanks & Regards
    Pramod

     
  12. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    I tried multiple combinations of the shortcode to try to get things to line up properly. The only way I could get things to line up properly was to use [col3]content[/col3] and then [col2_3_last_shortcode] content [col2_3_last_shortcode]. Once it lined up, it would show the code though. Other combinations of shortcode were unsuccessful at lining up text appropriately. The other problem is that even if it does work, the text and images go outside of the box that is a design element of the page. Please help. :)

    [​IMG][​IMG]
     
  13. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hey !

    Please replace "[col2_3_last_shortcode] Your text... [/col2_3_last_shortcode]" with "[col2_3_last] Your text....[/col2_3_last]".

    Thanks,
    Praveen
     
  14. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    I have already tried that and it does not work. Not only does it not create the columns, it still goes outside of the box. Here is the result of trying that:
    [​IMG]
     
  15. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi,

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .fullwidth .fullwidth_inner {
    float: left;
    }
    .one_third {
    float: left;
    }
    .two_third.last {
    width: 60%;
    }
    Thanks,
    Praveen
     
  16. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    Will this also work if I use two columns? Or will I need a separate code for that as well?
     
  17. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    I would also like to do one third, one third and one third last, but shortcode is not working here either.
     
  18. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    By the way, your CSS code did work and get the one third, two third column to work correctly. It is just that the other codes will not work correctly, such as one third, one third, one third last
     
  19. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello!

    Unfortunately theme does not have one third, one third, one third last short codes.

    Thanks & Regards
    Pramod
     
  20. v4sb

    v4sb Member

    Joined:
    Mar 14, 2013
    Messages:
    341
    Likes Received:
    0
    Is there anyway I can create a one third, one third and one third column shortcode?
     

Share This Page