Project action shortcode

  • Posted in : cvCard WP
  • mantovskis
    Participant

    Hi,

    When I use the project action shortcode and insert text with heading 1 (instead of buttons like in your demo website) a big gap appears between the top line of the shortcode and text with heading 1.

    Is there a way to fix this?

    Thanks

    Mehmet S.
    Keymaster

    Hi,

    Can you provide a screenshot?


    SHORTCODES: Project Action, Call To Action.

    – Project Action:

    [project_action]
    [button text="Preview" url="http://www.example.com"]
    [button text="Download" url="http://www.example.com"]
    [/project_action]
    

    – Call To Action:

    [call_to_action]
    [row]
    [column width="8"]
       cvCard WP is a clean and beautiful WordPress theme! (Heading 3)
       What are you waiting for? Buy now and begin to blogging. (Paragraph)
    [/column]
    [column width="4"]
       [cta_button_wrap]
       [button text="BUY NOW" size="big" icon="icon-cart" url="http://www.example.com"]
       [/cta_button_wrap]
    [/column]
    [/row]
    [/call_to_action]
    
    mantovskis
    Participant

    Here’s a screenshot:

    http://i57.tinypic.com/2lbdwgo.jpg

    And the shortcode code I try to use:

    [project_action]
    Text
    text
    [/project_action]

    Mehmet S.
    Keymaster

    Try like this:

    [project_action]Text
    text[/project_action]
    
    mantovskis
    Participant

    It works for a plain text (paragraph style), but it gets messy if I apply headings to the text.

    Mehmet S.
    Keymaster

    Can you provide your URL?

    mantovskis
    Participant

    Unfortunately, I can’t, because I’m using localhost.

    Could you please post a code to make text in project action shortcode bigger in size and bold. Maybe that would solve the problem, because right now the problem has something to do with headings style.

    ahmetsali
    Keymaster

    try this custom css code;

    .project-action h1, .project-action h2 {
        margin-top: 0;
    }
    
    mantovskis
    Participant

    Thanks, that custom css worked.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register