Help with mobile view

The video script that I’m using has a keyword search function and also displays videos by category.
I got help with modifying the search function so that keywords can be searched within categories, which works successfully.
The problem I’m trying to get help with is that the modification’s mobile view needs improvement.

As you can see in the image named desktopView, just as a reference, it shows the search field and the drop-down side by side, when viewing the site by pc.

In the image named mobileView1, it shows how the search field currently looks, where you simply select the magnifying glass to search, via a mobile device view.

The image named mobileView2, you can see what the search field looked like prior to the modification, after selecting the magnifying glass, via a mobile device view (it displays a white horizontal area with “Search for videos” inside of it).

The image named mobileMod-View shows currently what the mobile view looks like - after selecting the magnifying glass. It shows another magnifying glass (which I’d like to get help to remove) which might help move the “Search for videos” up. But I’d also like help with moving the drop-down horizontal (with the word “All” in it) to be above the video thumbnail (or side by side with the horizontal search field).

Here is the code below. I look forward to any help (without affecting the pc view)

<?php
$categories[0] = 'All';
foreach($pt->categories as $key => $category){
$categories[$key] = $category;
}
?>
<nav class="navbar navbar-findcond navbar-fixed-top header-layout">
	<div class="container <?php echo ($pt->page == 'watch') ? 'watch-container' : '';?>">
		<div class="navbar-header pull-left">
			<a class="navbar-brand logo-img" href="{{LINK }}" itemprop="url"><img itemprop="logo" src="{{CONFIG theme_url}}/img/<?php echo ($pt->mode != 'night') ? 'logo' : 'logo-light';?>.png" alt="{{CONFIG title}}"></a>
			<form class="navbar-form navbar-left search-header" role="search" action="{{LINK search}}" method="GET" id="search-form">
                <div class="form-group">
                    <input type="text" class="form-control" id="search-bar" name="keyword" placeholder="{{LANG search_keyword}}" autocomplete="off" value="{{SEARCH_KEYWORD}}">
					<select class="form-control" name="category_id" id="category_id">
						<?php foreach($categories as $key => $category) { ?>
						<option value="<?php echo $key; ?>" <?php echo  ($_GET['category_id'] == $key ? 'selected' :' ')?> ><?php echo $category ;?> </option>
						<?php }?>
					</select>
                    <?php
                    if (!empty($_GET['is_channel'])) {
                    ?>
                    <input type="hidden" name="is_channel" value="true">
                    <?php } ?>
					<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search" onclick="javascript:$('.search-header input').focus();"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
                </div>
                <div class="search-dropdown hidden"></div>
            </form>
		</div>
		<div class="pull-right">
			<ul class="nav navbar-nav navbar-right">
				<?php if ($pt->config->night_mode == 'both' || $pt->config->night_mode == 'night_default'): ?>
				<li class="toggle-mode hidden-xs pull-left top-header">
					<label class="switch" data-toggle="tooltip" data-placement="bottom" title="{{LANG mode}}">
						<input type="checkbox" {{MODE}} id="toggle-mode">
						<span class="slider round">
							<svg fill="#009da0" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" class="feather feather-bulb"><path d="M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z" /></svg>
						</span>
					</label>
				</li>
				<?php endif; ?>
				<li class="show-in-mobile pull-left top-header">
					<a href="#" class="search-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> </a>
				</li>
				<?php if (IS_LOGGED): ?>
				<li class="hide-from-mobile pull-left top-header">
					 <a href="{{LINK messages}}">
				   		<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-square"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>
				   		<span id="new-messages"></span>
				    </a>
				</li>
				<li class="hide-from-mobile dropdown pull-left top-header">
				    <a href="javascript:void(0);"  id="get-notifications" class=" dropdown-toggle" data-toggle="dropdown">
				   		<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M22 17H2a3 3 0 0 0 3-3V9a7 7 0 0 1 14 0v5a3 3 0 0 0 3 3zm-8.27 4a2 2 0 0 1-3.46 0"></path></svg>
				   		<span id="new-notifications"></span>
				    </a>
				    <ul class="dropdown-menu notfi-dropdown" id="notifications">
					    <li>
					    	<h5>
					    		<b id="all-notifications"></b> {{LANG notifications}}
					    		<i class="fa fa-circle-o-notch spin hidden"></i>
					    	</h5>
					    </li>
					    <li>
					    	<ul id="notifications-list"></ul>
					    </li>
				    </ul>
				</li>
				<?php endif; ?>
				{{SIDE_HEADER}}
			</ul>
		</div>
	</div>
</nav>

<nav class="navbar navbar-findcond navbar-fixed-top header-layout hidden search-bar" style="margin-top: 49px;">
    <div class="container <?php echo ($pt->page == 'watch') ? 'watch-container' : '';?>">

		<div class="navbar-header">

			<form class="search-header-mobile" role="search" action="{{LINK search}}" method="GET" id="search-form">

                <div class="form-group">

                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search" onclick="javascript:$('.search-header input').focus();"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg><input type="text" class="form-control" id="search-bar-mobile" name="keyword" placeholder="{{LANG search_keyword}}" autocomplete="off" value="{{SEARCH_KEYWORD}}">

                                        <select class="form-control" name="category_id" id="category_id">
												<?php foreach($categories as $key => $category) { ?>
												<option value="<?php echo $key; ?>" <?php echo  ($_GET['category_id'] == $key ? 'selected' :' ')?> ><?php echo $category ;?> </option>
												<?php }?>
											</select>
				                                   <?php
								                    if (!empty($_GET['is_channel'])) {
								                    ?>
								                    <input type="hidden" name="is_channel" value="true">
                    <?php } ?>






                </div>

                    <div class="search-dropdown hidden"></div>
            </form>
		</div>
	</div>
</nav>
<?php if ($pt->page != 'login') { ?>
<nav class="navbar navbar-findcond navbar-default second-header-layout">
    <div class="container <?php echo ($pt->page == 'watch') ? 'watch-container' : '';?>">
		<div class="navbar-inner" id="navbar">
			<ul class="nav navbar-nav">
			    <li class="hide-from-mobile <?php echo ($pt->page == 'home') ? 'active': '';?>">
					<a href="{{LINK }}"> {{LANG home}}</a>
				</li>
				<li class="hide-from-mobile <?php echo ($pt->page == 'latest') ? 'active': '';?>">
					<a href="{{LINK videos/latest}}">{{LANG latest_videos}}</a>
				</li>
				<li class="hide-from-mobile <?php echo ($pt->page == 'top') ? 'active': '';?>">
					<a href="{{LINK videos/top}}">{{LANG top_videos}}</a>
				</li>
				<li class="hide-from-mobile <?php echo ($pt->page == 'trending') ? 'active': '';?>">
					<a href="{{LINK videos/trending}}">{{LANG trending}}</a>
				</li>
				<li class="dropdown hide-from-mobile <?php echo ($pt->page == 'category') ? 'active': '';?>">
				   <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{LANG categories}} <span class="caret"></span></a>
				   <ul class="dropdown-menu categories-drop-down" role="menu">
				    <?php foreach($pt->categories as $key => $category) {
					    if (1) { ?>
					    <li class="hide-from-mobile">
						   <a class="category" href="{{LINK videos/category/<?php echo $key?>}}"><?php echo $category?></a>
						</li>
					<?php } }?>
				   </ul>
				</li>
				<?php if ($pt->config->article_system == 'on'): ?>
				<li class="hide-from-mobile <?php echo ($pt->page == 'articles') ? 'active': '';?>">
				   <a href="{{LINK articles}}">{{LANG articles}}</a>
				</li>
				<?php endif ?>
			</ul>

			<ul class="nav navbar-nav pull-right">
				<?php if ($pt->config->upload_system == 'on') { ?>
			    <li class="hide-from-mobile">
					<a href="{{LINK upload-video}}" class="btn upload-button">
						<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>
						<span class="hide-in-mobile">{{LANG upload}}</span>
					</a>
				</li>
				<?php } ?>
				<?php if ($pt->config->import_system == 'on') { ?>
			    <li class="hide-from-mobile">
					<a href="{{LINK import-video}}" class="btn import-button">
						<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download-cloud"><polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path></svg>
						<span class="hide-in-mobile">{{LANG import}}</span>
					</a>
				</li>
				<?php } ?>
			</ul>

		</div>
	</div>
</nav>
<?php } ?>

<?php if (IS_LOGGED): ?>
<script>
	jQuery(document).ready(function($) {
		pt_get_notifications({type:'new'});

		$("#get-notifications").click(function(event) {
			if ($('#notifications').css('display') == 'none') {
				var notfi_cont = $("ul.notfi-dropdown");

				if ($("span#new-notifications").html() != '') {
					$(this).find('span#new-notifications').empty();
				}

				pt_get_notifications({sa:1});
			}
		});

		setInterval(function(){
			pt_get_notifications({type:'new'});
		}, 6000);
	});

	function pt_get_notifications(args){
		if (!args) {
			args = {};
		}
		var notfi_cont = $("ul.notfi-dropdown");
		var notfi_set  = $("ul#notifications");

		defparams = {
			type: false,
			sa:false
		}

		options = Object.assign(defparams,args);
		data    = {'hash':$('.main_session').val()};

		if (options['type']) {
			data['t'] = options['type'];
		}

		if (options['sa']) {
			data['sa'] = options['sa'];
			notfi_set.find('i.spin').removeClass('hidden');
		}

		$.ajax({
			url: '{{LINK aj/get_notifications}}',
			type: 'GET',
			dataType: 'json',
			data:data
		})
		.done(function(data) {
			if (data.status == 200) {
				if (data.new) {
					$("span#new-notifications").html($('<b>',{
						text:data.new
					}));
				}
				else{
					notfi_set.find('b').text(data.len);
					notfi_set.find('ul').html(data.html);
				}
			}
			else if(data.status == 304 && options['sa']){
				notfi_set.find('ul').html($("<li>",{
					class:'no-notifications',
					text: "{{LANG no_notifications}}"
				}));
			}

			if (data.count_messages > 0) {
				$('#new-messages').html('<b>' + data.count_messages + '</b>');
			} else {
				$('#new-messages').html('');
			}

			if (options['sa']) {notfi_set.find('i.spin').addClass('hidden');}

		})
		.fail(function() {
			console.log("error");
		});
	}
</script>
<?php endif ?>

<script>



$('.search-icon').on('click', function(event) {
	event.preventDefault();
	$('.search-bar').toggleClass('hidden');
});
$('#search-bar').keyup(function(event) {
	var search_value = $(this).val();
	var search_dropdown = $('.search-dropdown');
	if (search_value == '') {
		search_dropdown.addClass('hidden');
		search_dropdown.empty();
		return false;
	} else {
		search_dropdown.removeClass('hidden');
	}
    $.post('{{LINK aj/search}}', {search_value: search_value}, function(data, textStatus, xhr) {
    	if (data.status == 200) {
    		search_dropdown.html(data.html);
    	} else {
	       search_dropdown.addClass('hidden');
		   search_dropdown.empty();
		   return false;
    	}
    });
});
$('#category_id').change(function(){
	$('#search-form').submit();
});
</script>




Hi,

I’m a little confused reading the code you posted. :slight_smile:

Could you instead of the php script post what the browser see?

View source from the browser and save, or just save the page from the browser. If needed you can edit the saved code before posting it.

Then, we also need to see the css that belongs to the html.

1 Like

Thanks for your reply. Much appreciated. Sorry for any confusion.
The ViewSource code looks to be about 2800+ lines of code.
The css files about 1200+.
the file code I’ve posted is an .html file, not a php file. The php added was the modification that I described. Any additional help/direction/suggestions will be welcomed

And in addition the browser tries to guess and correct errors.

Hopefully you could take the snippet from the saved source to see what the browser makes of it.

Same with the css. Please.

A simple option (at least in our end) might be to link to a page we can use that displays your issues. :slight_smile:

As of now I think you would get some common advice only, not solutions.

2 Likes

Thanks again for your reply. Greatly appreciated.
I’m not sure what this means “And in addition the browser tries to guess and correct errors”.
and this “take the snippet from the saved source to see what the browser makes of it”, not sure what snippet to take.
I’d provide a link, but I’d rather not post it, to be on the internet search forever. If you’d like I can PM it to you.

You could obfuscate with code tags that it is link, example.commercial, exmple_net, or you could put in +, *, =, or space to make it a non link, but we are lazy so make it easy to correct.

There are more members with more knowledge than me. :wink:

Thanks again for your reply.
If anyone else wants to provide a suggestion, I’ll PM them the url (just like I have just done to you) if it’s something they might they need

You are cutting out all visitors and not logged in members and also members that don’t like the PM fuzz, like my self.

Please find some other way.

My best tip is to strip down a page and post that, maybe as a zip file. That way we can look into the issue and test what we think of before suggesing anything special.

1 Like

Sorry, but that isn’t the way things work on a public forum.

The point of public discussion is that anybody can contribute, and anybody can learn from the discussion. If you take all or part of the discussion out of the public domain and into PMs, the community benefit is lost.

Please find another way to provide the relevant code. @Erik_J has made several suggestions of methods you can use.

1 Like

You could obfuscate the link so internet searches will not pick it up and just ask anyone here not to post any relevant details from it.

e.g.
hblahttpblahs://wblahwblahw.gblahoblahoblahgle.cblahom/

(remove ‘blah’)

It’s a bit of a pain to unravel but stops the link being picked up or recognised,

2 Likes

Or just:
gblahoblahoblahgle.cblahom :smile:

(remove ‘blah’)

1 Like

Here is a “snippet from the saved source” (Viewsource) as suggested:

<!DOCTYPE html>
<html id="html">
<head>
	<meta charset="UTF-8">
	<title></title>
	<meta name="title" content="">
	<meta name="description" content="">
	<meta name="keywords" content="video sharing">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta property="fb:app_id" content="" />
    <meta name="format-detection" content="" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    
    <link rel="shortcut icon" type="image/png" href="https://....com/themes/default/img/icon.png"/>
    <link rel="stylesheet" href="https://....com/themes/default/css/jquery-ui.min.css">
    <link rel="stylesheet" href="https://....com/themes/default/css/jquery.tagit.css">
    <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css">
    <link rel="stylesheet" href="https://....com/themes/default/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://....com/themes/default/css/style.css" id="style-css">
      
    <link rel="stylesheet" href="https://....com/themes/default/css/custom.style.css">

    <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">
 
    <script src="https://....com/themes/default/js/header.js"></script>
</head>
<body itemscope itemtype="http://schema.org/Organization" id="pt-body">
    <input type="hidden" class="main_session" value="a2968ae825a92284657be029d8e7d7b7ba9011ef">
  	<header>
		<nav class="navbar navbar-findcond navbar-fixed-top header-layout">
	<div class="container ">
		<div class="navbar-header pull-left">
			<a class="navbar-brand logo-img" href="https://....com/" itemprop="url"><img itemprop="logo" src="https://....com/themes/default/img/logo.png" alt=""></a>
			<form class="navbar-form navbar-left search-header" role="search" action="https://....com/search" method="GET" id="search-form">
                <div class="form-group">
                    <input type="text" class="form-control" id="search-bar" name="keyword" placeholder="Search for videos" autocomplete="off" value="">
					<select class="form-control" name="category_id" id="category_id">
												<option value="0" selected >All </option>
												<option value="1"   >Film & Animation </option>
												<option value="2"   >Cars & Vehicles </option>
												<option value="3"   >Music </option>
												<option value="5"   >Sports </option>
												<option value="6"   >Travel & Events </option>
											</select>
                 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search" onclick="javascript:$('.search-header input').focus();"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
                </div>
                <div class="search-dropdown hidden"></div>
            </form>
		</div>
		<div class="pull-right">
			<ul class="nav navbar-nav navbar-right">
								<li class="toggle-mode hidden-xs pull-left top-header">
					<label class="switch" data-toggle="tooltip" data-placement="bottom" title="Mode">
						<input type="checkbox"  id="toggle-mode">
						<span class="slider round">
							<svg fill="#009da0" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" class="feather feather-bulb"><path d="M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z" /></svg>
						</span>
					</label>
				</li>
								<li class="show-in-mobile pull-left top-header">
					<a href="#" class="search-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg> </a>
				</li>
</nav>

<nav class="navbar navbar-findcond navbar-fixed-top header-layout hidden search-bar" style="margin-top: 49px;">
    <div class="container ">

		<div class="navbar-header">

			<form class="search-header-mobile" role="search" action="https://....com/search" method="GET" id="search-form">

                <div class="form-group">

                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search" onclick="javascript:$('.search-header input').focus();"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg><input type="text" class="form-control" id="search-bar-mobile" name="keyword" placeholder="Search for videos" autocomplete="off" value="">

                                        <select class="form-control" name="category_id" id="category_id">		                                   
               </div>

                    <div class="search-dropdown hidden"></div>
            </form>
		</div>
	</div>
</nav>
<nav class="navbar navbar-findcond navbar-default second-header-layout">
    <div class="container ">
		<div class="navbar-inner" id="navbar">
			<ul class="nav navbar-nav">
			
				<li class="dropdown hide-from-mobile ">
				   <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Categories <span class="caret"></span></a>
				   <ul class="dropdown-menu categories-drop-down" role="menu">
				    					    <li class="hide-from-mobile">
						   <a class="category" href="https://....com/videos/category/1">Film & Animation</a>
						</li>
										    <li class="hide-from-mobile">
						   <a class="category" href="https://....com/videos/category/2">Cars & Vehicles</a>
						</li>
										    <li class="hide-from-mobile">
						   <a class="category" href="https://...com/videos/category/3">Music</a>
						</li>
										    <li class="hide-from-mobile">
						   <a class="category" href="https://...com/videos/category/5">Sports</a>
						</li>
										    <li class="hide-from-mobile">
						   <a class="category" href="https://...com/videos/category/6">Travel & Events</a>
						</li>
									   </ul>
</nav>

    <div class="clear"></div>
	</header>
  	<div id="main-container" class="container   main-content" data-logged="true">
                <div class="ads-placment"></div>
        <div class="announcement-renderer">
            
        </div>
        		    <div class="page-margin video-player-page">

    <div class="pt_fv_blur_img">
        <div></div>
    </div>
    <div class="col-md-12">
        <div class="top-video">
            <div class="row">
                <div class="pt_featured_video">
                    <h4 title="Featured video">
            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-award"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg>
          </h4>
                    <div class="video-player">
                        <a href="https://....com/watch/T2AfjFgNWJ1DEMa">
                            <div class="thumbnail_holder"><img src="https://....com/upload/photos/2018/12/512ca40613186b922fc27d3dbe182f6a4dc103b4xDa1z6AnTqB1qbTNSEEQ.video_thumb_5073_1.jpeg"></div>
                        </a>
                        <div class="video-title">
                            <input type="hidden" value="150" id="video-id">
                            <div class="publisher-element">
                                <div class="publisher-avatar pull-left hide-in-mobile-720">
                                    <a href="https://....com/@chrisj"><img src="https://....com/upload/photos/d-avatar.jpg" alt="chrisj chrisj"></a>
                                </div>
                                <div class="publisher-name">
                                    <a href="https://....com/@chrisj">chrisj chrisj <i class="fa fa-check-circle fa-fw verified"></i></a>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="video_title_combo">
                                <div class="video-big-title">
                                    <a href="https://....com/watch/T2AfjFgNWJ1DEMa">Countttt .mp4</a>
                                </div>
                                <div class="video_info">
                                    <div class="video-likes">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up">
                                            <path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>
                                        </svg> <span class="likes" id="likes">0</span>
                                        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down" style="margin-left: 10px;">
                                            <path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>
                                        </svg> <span class="likes" id="dislikes">0</span>
                                    </div>
                                </div>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="row">
        <div class="col-md-6">
            <div class="content pt_shadow">
                <div class="home-page-categories">
                    <div class="title">
                        <h4>
              <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-trending-up" color="#2196F3"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline></svg>&nbsp;&nbsp;Trending 
              <span class="view_more_link">
                <a href="https://....com/videos/trending">Explore more 
                  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>
                </a>
              </span>
            </h4>
                    </div>
                   
        <input type="hidden" id="main-url" value="https://...com%2F">
                <div class="ads-placment"></div>
        	</div>
  	<footer class="pt_footer">
		<div class="container-fluid">
	<div class="container  phone-container">
		<div class="footer-container row">
			<div class="col-md-8">
				<div class="col-md-12 footer-links">
					<ul>
						<li><a href="https://....com/terms/terms">Terms</a></li>
						<li><a href="https://....com/terms/privacy-policy">Privacy</a></li>
						<li><a href="https://....com/terms/about-us">About</a></li>
						<li><a href="https://....com/contact-us">Contact</a></li>
											</ul>
					<hr>
				</div>
				<div class="col-md-12 footer-copyright">
					Copyright © 2019  All rights reserved.
				</div>
			</div>
			<div class="col-md-4">
				<div class="col-md-12">
					<ul class="pt_foot_lang">
						<li class="dropdown dropup">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>Language</a>
							<ul class="dropdown-menu dropdown-menu-right pt_language_select" role="menu">
								<li><a href="?lang=english" rel="nofollow">English</a></li><li><a href="?lang=arabic" rel="nofollow">Arabic</a></li><li><a href="?lang=dutch" rel="nofollow">Dutch</a></li><li><a href="?lang=french" rel="nofollow">French</a></li><li><a href="?lang=german" rel="nofollow">German</a></li><li><a href="?lang=russian" rel="nofollow">Russian</a></li><li><a href="?lang=spanish" rel="nofollow">Spanish</a></li><li><a href="?lang=turkish" rel="nofollow">Turkish</a></li>
							</ul>
						</li>
					</ul>

		</div>
	</div>
</div>
	</footer>
  


	<script type="text/javascript" src="https://....com/themes/default/js/script.js"></script>
    <script type="text/javascript" src="https://....com/themes/default/js/bootstrap.min.js"></script>
    <script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>
    <script src="https://...com/themes/default/js/footer.js"></script>
    <link rel="" ="">

	
	<div class="fixed-action-btn">
		<span id="btn-fab-main" class="btn-fab-floating"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg></span>
		<ul>
			 
			<li data-toggle="tooltip" data-placement="left" title="Upload">
				<a href="https://....com/upload-video" class="btn-floating"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload" color="#d84c47"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg></a>
			</li>
						 
			<li data-toggle="tooltip" data-placement="left" title="Import">
				<a href="https://....com/import-video" class="btn-floating"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-download-cloud" color="#2fc1bc"><polyline points="8 17 12 21 16 17"></polyline><line x1="12" y1="12" x2="12" y2="21"></line><path d="M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"></path></svg></a>
			</li>
					</ul>
	</div>
</body>
</html>

Thank you!

I see you have made the effort to redact sensitive info, good!

My best tip is to strip down a page and post that, maybe as a zip file.

May I suggest a complete save from the browser: Save as Complete Webpage.

That would save all relevant files for that page into a directory with all file paths now pointing to a directory named after the file name you’ve choosen to save as.

Then remove all files that’s not needed in a slimmed down page that still works and we can use to solve this. And redact all references to the live website, e.g. links. Maybe rename or replace sensitive images and their paths in the css.

Then zip the file and directory and post here.

Thanks for your reply.
I saved the web page as view-source_https__…com.html and zipped it and attache it to this posting. I’m not clear on what you’re suggesting about a directory.
Any additional help will be welcomed.view-source_https___…com.zip (44.6 KB)

That file doesn’t work as an html file.

Sorry if I’ve been confusing. I’ve done this so many times so maybe I wasn’t clear or just miss-wording what the browser calls the action.

May I suggest a complete save from the browser: Save as Complete Webpage.

I meant save the page, not the source view – but the live page as it is displayed in the browser.

Then you get the page’s html-file and its directory with all files the browser had loaded to show the page.

Hope I made more sense this time. :slight_smile:

The first file code I provided is the html file for the main page

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.