This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

view.css somehow inactive?


  1. drbobtampa
    Member

    I am going crazy. I can change index.css and see impact on admin views.

    However, when I go to /home/myforms/data/form_1/css/view.css
    and edit it, nothing happens with the actual display of form_1
    I can edit it internally with machform or externally with text editor, no effect.
    I can see that the view.css file itself is changed in the folder appropriate to the form. I make other changes and they too do not seem to have an effect.

    An example of a change I want to make is to have logo at top of form. Currently I have in the view.css the following code:
    ___________________________________
    /**** Logo Section *****/
    #main_body h1
    {
    /**background-color:#dedede;**/
    background-image: url(images/sbGREEN-header-logo640x140.gif);
    background-repeat: no-repeat;
    height:140px;
    margin:0;
    min-height:0;
    padding:0;
    text-decoration:none;
    text-indent:150px
    }
    _________________________________
    however, this has no effect on the display of the form. I have read everything I can find in the forum and implemented several changes, but cannot get a header to appear or other features controlled by the view.css to change. I am clearly not getting view.css to implement or something, but cannot figure out what it is.

    If it helps, here is html of the4 top of the form display section:
    _____________________________________________
    </head>
    <body id="main_body" >

    <img id="top" src="images/top.png" alt="" />
    <div id="form_container">

    <h1>Dr Bob First Form</h1>

    <form id="form_1" class="appnitro" method="post" action="#main_body">
    <div class="form_description">
    <h2>Dr Bob First Form</h2>
    <p>This is your form description. Click here to edit.</p>
    </div>
    <ul >
    ________________________________________

    Suggestions welcome.
    Bob

    Posted 15 years ago #
  2. drbobtampa
    Member

    Whoa, howdy! I got the image for the header by changing the top.png image. That was obvious, although I am still confused about why my mod did not work.

    Now I am struggling to get the checkboxs and radio button to be UNDER the questions, like this
    1. Question
    choice one choice 2
    not along side, like
    1. Question choice one choice two.
    That is, I cannot get the inline and block to work, again by modifying the view.css. I have read and tried ALL the posts on this.

    What stupid little thing am I missing?!

    Bob

    Posted 15 years ago #
  3. redityo

    Hi Bob,

    If you need to change the form logo, you already on the right path. Are you sure your images/logo path is correct ?. Anyway to line up the choice, try to insert this code to your CSS :

    #li_1 label.choice {
    	display:inline ;
    	position:relative ;
    	margin-left: 0.2em ;
    	_top:0.2em;
    }
    
    #li_1 input.radio {
    	display: inline  !important;
    	margin-left: 0.5em !important;
    }

    change the number with your element and can I see your form url ?


    MachForm Support

    Posted 15 years ago #

RSS feed for this topic

Reply