Jump to content

Milada

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Milada

  1. I see, thank you Ingolme.

    So probably there is no link to the stylesheet.

    I used this code:

    "

    /* Content Box
    ------------------------------------------------------------ */

    .content-box-purple {
    margin: 0 0 25px;
    overflow: hidden;
    padding: 20px;
    }

    .content-box-purple {
    background-color: #e2e2f9;
    border: 1px solid #bebde9;
    }

    "

    which I simply copied to a style.css file.

    There is something wrong with this, is there?

  2. Hi all,

    I found this code <div class="content-box-purple">text</div>

    to use for a box in a post.

    I copied this code:

    /* Content Box
    ------------------------------------------------------------ */

    .content-box-purple {
    margin: 0 0 25px;
    overflow: hidden;
    padding: 20px;
    }

    .content-box-purple {
    background-color: #e2e2f9;
    border: 1px solid #bebde9;
    }

    to a style.css file.

    However, the box does not show in the post. I checked all plugins for compatibility and when deactivating them all, the box still does not show.

    Do you have an idea of what might be wrong?

    Thank you,

    Milada

  3. Hi  all,

    I would like to ask you what code should I use so that a text written in a box of a newsletter disappears when I start typing into the box.

    Further, what code should I use to get rid of the double line in the box for an email? See attached.

    Thank you in advance.

     

    Milada

  4. Hi  all,

    I would like to ask you what code should I use so that a text written in a box of a newsletter disappears when I start typing into the box.

    Further, what code should I use to get rid of the double line in the box for an email? See attached.

    Thank you in advance.

     

    Milada

    box-email.jpg

  5. I have created this code:

    genesis_register_sidebar( array(

        'id'        => 'alonside-posts-sidebar',

        'name'      => __('Alonside Posts', 'wellness' ),

        'description'   => __('This is a sidebar that goes alongside the posts in the #content.' ),

    ) );

    add_action( 'genesis_before_loop', 'wellness_alongside_posts_sidebar' );

    /** Loads a new sidebar alongside the posts in the #content */

    function wellness_alongside_posts_sidebar() {

     

        echo '<div class="alongside-posts-sidebar">';

            dynamic_sidebar( 'alongside-posts-sidebar' );

        echo '</div>';

     }

     

    Can you please tell me if it´s correct? I would like to have a sidebar alongside the content on the left? What should be added?

    Thank you,

     

    Milada

  6. Hi all,

    I have a sidebar which is now to the right from the articles on posts/pages (incorporated in the theme). Now I would like to add a widget sidebar that would be to the left from an article (of a post/page).

    To register a sidebar, I would use this code:

    function wpb_widgets_init() {
    
    	register_sidebar( array(
    		'name' => __( 'Main Sidebar', 'wpb' ),
    		'id' => 'sidebar-1',
    		'description' => __( 'The main sidebar appears on the right on each page except the front page template', 'wpb' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	register_sidebar( array(
    		'name' =>__( 'Front page sidebar', 'wpb'),
    		'id' => 'sidebar-2',
    		'description' => __( 'Appears on the static front page template', 'wpb' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    	}
    
    add_action( 'widgets_init', 'wpb_widgets_init' );
    

    Then to position it to the left from an article, the CSS class should be like this?:

    .sidebar {
    		float: left;
    		margin-right: -100%;
    		max-width: 413px;
    		position: relative;
    		width: 29.4118%;
    	}
    

    Thank you in advance for your help.

     

    Milada

     

  7. Hi all,



    my blog launch is dependent on the kNews form functioning. So far the subscription form returns this reply (after entering the data as name, surname, e-mail address):



    Your e-mail address seems to be incorrect. Please check it back.



    Other people have the same problem - see this thread: https://wordpress.org/support/topic/email-address-seems-to-be-incorrect/#post-8565419



    After reading it do you have any idea of what could be the clue to the solution?



    I would be happy for any help.


    Thank you!



    Milada


  8. Hi all,

     

    can someone please provide me with some hits in what sense I should customise the kNews CSSs?

    What should the coding include also with respect to what the kNews plugin already disposes of, so that there are no duplications?

    What I really would like is a hint, on how to make the subscription form active - ie. people inserting the data in the form, get really subscribed.

     

    Thank you for your hints!

     

    Milada

     

  9. Hi all,

     

    can someone please provide me with some hits in what sense I should customise the kNews CSSs?

    What should the coding include also with respect to what the kNews plugin already disposes of, so that there are no duplications?

    What I really would like is hint, on how to make the subscription form active - ie. people inserting the data in the form, get really subscribed.

    Thank you for your hints!

    Milada

  10. Thank you dsonesuk and Foxy Mod for your feed-backs.

    @Foxy Mod: thank you for the hint for the second part of the code. As there is no text field in the kNews widget, I added this code to the Genesis eNews extended text field (as it is at the page bottom, too) - and it functions!

     

    Thank you also both of you on kNews hints - do these instructions refer also to the final functioning of the kNews plugin, ie. will it "accept" the entered e-mail addresses and will then the users receive the newsletters?

    If I settle some codes, may I then ask you to check them for me?

     

    Thank you in advance and regards,

     

    Milada

  11. Hallo again,

     

    can you please Foxy Mod or Dsonesuk help me with customizing kNews extended?

    /* Write here your CSS classes. Please, use div.knews_add_user prefix to customise all kNews Subscription widgets at once, or #knews_widget-2 prefix to customise this one. Example: div.knews_add_user input { border: #e00 1px solid; } */

    Here I do not understand what CSS classes I am supposed to use? Actually, I do not know which css classes are usually requested for a form subscription and what should they "look" like?

    Can you please help me?

    Thank you.

    Milada

  12. hallo both!

     

    thank you very much for your patience. The problem is that I get always blocked by a fear of doing it wrong and it might be more difficult or complicated than it is.

    So I think I finally found the "solution".

    Is this code correct?:

     

    <a class="button hexagon" href="#bottom">Chcete se dozvědět více?</a>

     

    I cannot test it myself, as I am experiencing 404 error page.

     

    Thank you for letting me know,

     

    Milada

  13. yes, I very well understands, that when there is a <a href="page.html"> it links to a linked page

     

    I am confused by the fact that there is a button, and I do not understand how to incorporate the code into the button

     

    So based on your message, I have this code:

     

    <a class="button hexagon"><div id="bottom">Chcete se dozvědět více?</div></a>

     

    I cannot write: <a href="#bottom">Bottom of document</a>

    I do not want to have a text saying "Bottom of document" in my text.

     

    Can you please help me to solve this problem?

    Thank you in advance.

  14. I read it already several times, but I do not understand, what you mean. Especially, I do not understand the second part at all. Can you explain it to me with respect to the coded text I sent you?

    I am trying to learn new things, but if I do not understand, how these codes function, what they suppose to do, please understand it from your point of you, who is a specialist in this are of knowledge, you know what you talk about and try to understand that I do not even have an IT education, please try to imagine my position.

     

    Can you please also help me with the css customization of the knews plugin? I sent you my suggestion, but there is no reply from you.

    Thank you.

  15. I am confused: should I use <div id="bottom"></div> or <a href="#bottom">Bottom of document</a> what you suggested afterwards?

    I do not understand it anymore. I understand well, how to add a link to take me to a linked page, but I do not understand this, how I should incorporate it in the button code: <a class="button hexagon"></a>

     

    Should I replace bottom with "newsletter"?

×
×
  • Create New...