Byron

Members
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Byron

  • Rank
    Newbie
  1. I know it's not using bootstrap but you can add different widths etc to container in different media queries and so on
  2. Hi guys I am in need of some advice/help please in regards to media queries and making things repsonsive. BTW my site is using the twiter bootstrap framework (Not sure if that makes any difference or not) At the moment I am currently in the progress of creating a HTML page: http://unlockingblueprints.com/templates/responsive/membership-course-page.html that Is exactly the same as the word press page: https://optimizepressplus.com/instruct-membership-course-page-new/ I have just started doing it.. If you look at the instruct Homepage heading - I have copied all of CSS code + media queries for it.. However for some reason on the HTML it does not work the same as it does on the wordpress page.. If you change the screen size on the word press page you will noticed that the font size changes correctly but not actually on the HTML page.. And I have no idea why.....
  3. Alright guys I am wondering if anyone has got a very good understanding of HTML and also Twitter Bootstrap please.... I have already got the following page https://optimizepressplus.com/instruct-membership-course-page-new/ which was a WordPress page changed over to a HTML page which can be found here http://unlockingblueprints.com/demo/optimizepressplus/instruct-membership-course-page-new.html however there a few issues.. The first issue that I have notice is there appears to be a lot of code used just to do one thing... I.e If you just look at the section where it says INSTRUCT HOMEPAGE, and then just the blue box and it's contents, you get all of the following code.. <div class="element-container cf" > <!--blue box --> <div class="feature-box-creator feature-box-creator-style-1" style="margin-bottom: 0px; border: 1px #000 solid; border-width: 0px; width: 100%; background-color: #39add1;"> <div class="feature-box-content course" style="padding-top: 15px; padding-right: 30px; padding-bottom: 30px; padding-left: 30px;"> <div class="element-container cf " > <div class="op-text-block" style="width:100%;text-align: left; color:rgb(255, 255, 255);"> <p><img src="pics/icon1.png" alt="" width="150" height="150" align="right" class="session_image"/></p> <h3><span style="color: #fff;">Instruct Homepage</span></h3> <p style='color:#f5fafa;'>Lorem ipsum dolor sit amet, consectetur varius adipiscing elit. Morbi nst netus sapien ultricies variuse vitae ante sapien. Mauris varius turpis quis pellentesque dignissim. Platea blandit molestie ante risus hac et molestie magna eut imperdiet magna beatae aliquam dolore faucibus.</p> </div> </div> </div> </div> </div> <!-- end of blue box --> I would like to try and simplify the code and also correct the errors that are on their due to responsive design.. From what I can understand the feature-box-creator acts as sort of container (bear with me if I am describing things wrongs ) I believe so because it's on all of the other boxes on the page.. I was thinking of changing that to box and then copying over all of the CSS..... Then for feature-box-creator-style-1 changing it to box-blue and then have all the styling code for it under that section... Would that work?
  4. Alright guys I am in need of some help please in regards to the navigation bar on my site.. Can you please take a look here http://unlockingblueprints.com At the moment for some reason the navigation bar is displaying bullet points that are actually used somewhere else on the site. Even though for that section I am using a different style class for it. How do I stop them being displayed there?? css code: .white {text-decoration:none;color:#3F0;}.white:hover { text-decoration:underline;color:[[MENU_HOVER_COLOR]];}.whitenav { text-decoration:none;color:[[MENU_TEXT_COLOR]];}.whitenav a:link, .whitenav a:visited, .whitenav a:active { text-decoration:none;color:[[MENU_TEXT_COLOR]];}.whitenav a:hover { text-decoration:underline;}.sf-menu li {background-color:#F09;list-style-type:none;}.sf-menu li li {background-color: [[MENU_BACKGROUND_COLOR]];list-style-type:none;}.sf-menu li li li {background-color: [[MENU_BACKGROUND_COLOR]];list-style-type:none;}.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {background: [[MENU_HOVER_COLOR]]; outline: 0;}.sf-menu a, .sf-menu a:visited {color: #3F0;}label.error { float: none; color: red; padding-left: .5em; vertical-align: top; display: block; }‚Äč .sf-menu li { background-color:[[HEADER_BG_COLOR_1]] } .sf-menu { float: left ; list-style-type:none; list-style-image:none; } </style> <ul class="sf-menu"><?php if(isset($_GET['page']) || $_GET['page'] !='home') echo '[[TOP_MENU]]' ?></ul>
  5. Sorry here is the right link: http://www.supreme-host.com/web/categories.html
  6. The image is not on my hard drive.. It is on my server
  7. I think you have missed what I asked for I only get the underline when I add a url link to a peice of text.. I dont want the underline to be displayed
  8. I am wondering how do I go about making my list format look like what I have done in this picture... C:\web\categories.htmlIl need to add the list format to l_sidebar class.. I believe that is what I need to do to get it to work in botn boxes on the left hand side? Or can I add it to leftbox class??Website http://www.supreme-host.com/web/categories.php
  9. Alright guysI am wondering how do I go about removing the underline part that shows up each time your add a url link to it? Not sure if you will have to modify the css? http://www.supreme-host.com/web/categories.php
  10. Alright RoundercornersCan I get some more help from your good self please??Can you send an email to Byron_Wells@blueyonder.co.uk
  11. Alright guysI am wondering who has been able to create an image using the image sprites and pseudo-class method? If so I need to talk to you!!I would like to know step by step how to do it... My first question follow the css sprite tutorial on here is where do I add the css code? Bearing in mind I am using a separate css file for all of the styling code... Do I need to add it to the navbar section? Or create a different class just for that bit? body { background: url(images/background.jpg) ; margin: 0px auto 0px; padding: 0px;}#mainbody { background: #FFFFFF; width: 920px; margin: 0px auto 0px; padding: 0px; } /************************************************* Header *************************************************/#header { background: url(images/header.jpg); width: 920px; height: 173px; color: #FFFFFF; margin: 0px auto 0px; padding: 0px; overflow: hidden; } /************************************************* Navbar *************************************************/#navbar { background: url(images/navbar.jpg); width: 920px; height: 35px; font-size: 12px; font-family: Arial; font-weight: smooth; color: #FFFFFF; margin: 0px auto 0px; padding: 0px; }#nav { margin: 0px 0px 0px 15px; padding: 0px; list-style: none; } #nav ul { margin: 0px; padding: 0px; list-style: none; }#nav a { background: #2B2B2B; color: #FFFFFF; display: block; font-size: 10px; font-weight: normal; text-transform: uppercase; margin: 0px 15px 0px 0px; padding: 11px 10px 11px 10px; } #nav:hover { background: #666666; color: #FFFFFF; display: block; text-decoration: none; margin: 0px 15px 0px 0px; padding: 11px 10px 11px 10px; }#nav li { float: left; margin: 0px; padding: 0px; } #nav li li { float: left; margin: 0px; padding: 0px; width: 140px; } #nav li li a, #nav li li a:link, #nav li li a:visited { background: #2B2B2B; width: 140px; float: none; margin: 0px; padding: 8px 10px 8px 10px; border-top: 1px solid #C0C0C0; } #nav li li a:hover, #nav li li a:active { background: #666666; padding: 8px 10px 8px 10px; }#nav li ul { position: absolute; width: 10em; left: -999em; }#nav li:hover ul { left: auto; display: block; } #nav li:hover ul, #nav li.sfhover ul { left: auto; } /************************************************* Navigation Shadow************************************************/#navshadow { background: url(images/navshadow.jpg); width: 920px; height: 9px; color: #FFFFFF; margin: 0px auto 0px; padding: 0px; overflow: hidden; } /************************************************* Left Sidebar * ************************************************/#l_sidebar { float: left; width: 175px; margin: 0px 0px 0px 10px; padding: 0px; line-height: 20px; display: inline; } #l_sidebar p { padding: 0px; margin: 0px; } #l_sidebar a img { border: none; margin: 0px; padding: 0px; } #l_sidebar h2 { height: 45px; color: #f9ea45; font-size: 12px; font-family: Verdana; font-weight: bold; margin: 0px 0px 10px 0px; padding: 1px 0px 1px 5px; line-height: 42px; } #l_sidebar h3 { color: #006699; font-size: 18px; font-family: Times New Roman, Tahoma, Verdana; font-weight: normal; margin: 0px 0px 5px 0px; padding: 0px; line-height: 20px; } .leftboxheader { background: #FFFFFF; float: left; width: 175px; height: 33px; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; } .leftbox { background: #FFFFFF; float: left; width: 171px; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; border-left: 2px solid #9B9B9B; border-right: 2px solid #9B9B9B; } .leftbottom { background: #FFFFFF url(images/borderbottom.jpg);; float: left; width: 175px; height: 10px; margin: 0px 0px 10px 0px; padding: 0px 0px 0px 0px; } And couldnt I just use this?<a href="index.htm"><img src="images/home.jpg" onMouseOver="this.setAttribute('src','images/home2.jpg')" onMouseOut="this.setAttribute('src','images/home.jpg')" border="0"></a><a href="aboutus.htm"><img src="images/aboutus.jpg" onMouseOver="this.setAttribute('src','images/aboutus2.jpg')" onMouseOut="this.setAttribute('src','images/aboutus.jpg')" border="0"></a><a href="productrequest.htm"><img src="images/productrequest.jpg" onMouseOver="this.setAttribute('src','images/productrequest2.jpg')" onMouseOut="this.setAttribute('src','images/productrequest.jpg')" border="0"></a><a href="affiliates.htm"><img src="images/affiliates.jpg" onMouseOver="this.setAttribute('src','images/affiliates2.jpg')" onMouseOut="this.setAttribute('src','images/affiliates.jpg')" border="0"></a><a href="contactus.htm"><img src="images/contactus.jpg" onMouseOver="this.setAttribute('src','images/contactus2.jpg')" onMouseOut="this.setAttribute('src','images/contactus.jpg')" border="0"></a>OR is that the old way??
  12. All right guys I need a little bit of help please.... At the moment I have hit a stumbling block....What I am trying to do is to create a navigation bar (which I have done) and then add images to it, home, contact us, affiliates, about us, etc.... Which I have done... The problem that I am having:When you move the mouse over the image, I would like it to change to anothe image, then when you click on that image, I would like it to stay another image...I know that it has got something to do with hover etc.. But I am stumped.. I need this to be explain in detail :)I am using php, and css for the website