Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WordPress_SexHackMe_Plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
WordPress_SexHackMe_Plugin
Commits
35083a0b
Commit
35083a0b
authored
Jul 06, 2023
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some minor fixes and css additions
parent
facb628e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
3 deletions
+42
-3
sexhackme_gallery.css
css/sexhackme_gallery.css
+1
-1
sexhackme_header.css
css/sexhackme_header.css
+35
-1
class-rclone.php
includes/class-rclone.php
+1
-1
class-storefront.php
includes/class-storefront.php
+5
-0
No files found.
css/sexhackme_gallery.css
View file @
35083a0b
...
...
@@ -148,7 +148,7 @@ ul.products li.sexhack_thumbli {
@media
screen
and
(
min-width
:
768px
)
{
.site-main
ul
.products.columns-4
li
.sexhack_thumbli
{
width
:
2
1%
;
width
:
2
0%
!important
;
/* This to solve the different title lenght, combine with right trim and popup full title maybe,
and maybe not here but adding another container.
I should also re-check the sexhack class naming...
...
...
css/sexhackme_header.css
View file @
35083a0b
...
...
@@ -18,8 +18,30 @@
* along with SexHackMe Wordpress Plugin. If not, see <https://www.gnu.org/licenses/>.
*/
.shm-side-by-side
{
display
:
inline-block
;
margin-left
:
10px
;
margin-right
:
10px
;
height
:
50px
;
}
#shm-socials-centered
{
text-align
:
center
;
}
.home.page
:not
(
.page-template-template-homepage
)
.site-header
{
margin-bottom
:
0em
;
}
@media
screen
and
(
min-width
:
768px
)
{
.site-header-cart
.cart-contents
{
padding
:
1px
;
padding-top
:
10px
;
}
.col-full
{
max-width
:
85em
;
}
...
...
@@ -29,12 +51,15 @@
margin
:
0
0
0.7em
;
}
.site-branding
{
margin-bottom
:
0em
;
}
.main-navigation
ul
.menu
>
li
>
a
,
.main-navigation
ul
.nav-menu
>
li
>
a
{
padding
:
0.4em
0.5em
;
}
.site-header
{
padding-top
:
0.
3
em
;
padding-top
:
0.
2
em
;
}
.woocommerce-active
.site-header
.main-navigation
{
...
...
@@ -59,4 +84,13 @@
} */
}
@media
screen
and
(
max-width
:
767px
)
{
.advbottom
{
display
:
none
;
}
.site-header
{
padding-top
:
0.2em
;
padding-bottom
:
0.2em
;
}
}
includes/class-rclone.php
View file @
35083a0b
...
...
@@ -48,7 +48,7 @@ if(!class_exists('SH_RClone')) {
}
if
(
$this
->
rclone
&&
is_callable
(
'shell_exec'
)
&&
false
===
stripos
(
ini_get
(
'disable_functions'
),
'shell_exec'
))
{
add_filter
(
'sh_download_url_filter'
,
array
(
$this
,
'get_
gdrive_
download_url'
));
add_filter
(
'sh_download_url_filter'
,
array
(
$this
,
'get_download_url'
));
}
}
...
...
includes/class-storefront.php
View file @
35083a0b
...
...
@@ -43,6 +43,9 @@ if(!class_exists('SH_StoreFront')) {
// Re add the cart in the right position
add_action
(
'storefront_header'
,
'storefront_header_cart'
,
40
);
// Remove breadcrumb
remove_action
(
'storefront_before_content'
,
'woocommerce_breadcrumb'
,
10
);
// Replace 404 page if /404.php exists
if
(
is_readable
(
$_SERVER
[
'DOCUMENT_ROOT'
]
.
'/404.php'
))
{
add_action
(
'template_redirect'
,
'wp_SexHackMe\SH_StoreFront::page404'
);
...
...
@@ -64,6 +67,8 @@ if(!class_exists('SH_StoreFront')) {
return
''
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment